RBZ files are mishandled by Firefox (BB-7586)

Issue #6442 closed
Marcus Bertrand
staff created an issue

For an unknown reason, Firefox mangles the filename of .rbz files.

Comments (4)

  1. Thomas Thomassen

    Here is the response header from BitBucket:

    HTTP/1.0 200 OK
    Content-Type: binary/octet-stream
    Content-Length: 191437
    Connection: keep-alive
    x-amz-id-2: vWkQokzf1vZKia3NLEu9CoMOfXjKLpwQzLDKLj1s7YZ8eRjAXOjtz5s456QciBCr
    x-amz-request-id: 59C10C92A4AE1C41
    Date: Wed, 20 Feb 2013 08:47:37 GMT
    Content-Disposition: attachment; filename=TT_Lib2 - 2.7.1.rbz
    Last-Modified: Tue, 19 Feb 2013 19:44:48 GMT
    ETag: "4c995b0e7fd563431fd9fb6a8a2896c7"
    Accept-Ranges: bytes
    Server: AmazonS3
    Age: 93
    X-Amz-Cf-Id: DzpTgWiXHjcXJoiUvYSVnmWqmIzUMP3brPLtVgf8HQPNBit7sJ-5PA==
    Via: 1.0 7bd11cf4ba0cb4a31238923e738cd16b.cloudfront.net (CloudFront)
    X-Cache: Hit from cloudfront

    Here is the response header when I download it from the forum at sketchucation.com

    HTTP/1.1 200 OK
    Date: Wed, 20 Feb 2013 08:56:54 GMT
    Server: Apache/2.2.3 (CentOS)
    X-Powered-By: PHP/5.3.10
    Pragma: public
    Content-Disposition: attachment; filename*=UTF-8''TT_Lib2%20-%202.7.1.rbz
    Content-Length: 191437
    Last-Modified: Tue, 19 Feb 2013 19:41:52 GMT
    Connection: close
    Content-Type: application/octet-stream

    Could it be the Content-Disposition header? Notice it defines the filename differently, it quotes the filename and URL encode it - also announcing it as UTF-8.

    In Firefox the filenames appear to clip off after "TT_Lib2" when the first space appear in the filename.

  2. Log in to comment