Browser does not see original filename while saving attachment - always attachment.cgi
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
People
(Reporter: sachse, Unassigned)
Details
Attachments
(1 file)
12 bytes,
text/plain
|
Details |
Additional Information:
A complete copy (files an database) to another server works fine.
Reason for this bug is an update of the perl interpreter.
It seams some array constructs are interpreted in a new way now.
Comment 2•4 years ago
|
||
Comment 3•4 years ago
|
||
The attachment description is a link to the raw attachment. While bugzilla tracks that the uploaded file was named testfile.txt it does not send this information to the web browser in an appropriate header and the web browser offers attachment.cgi as the filename when you right-click that link and choose "Save link as..." as well as when you open that link first and then choose to save the file.
Other web sites manage to convey filename to web browsers just fine so this is clearly a deficiency of bugzilla.
Comment 4•4 years ago
|
||
wget -S https://bug1499069.bmoattachments.org/attachment.cgi?id=9236446
Resolving bug1499069.bmoattachments.org (bug1499069.bmoattachments.org)... 52.38.29.31, 34.214.9.29, 54.149.158.81
Connecting to bug1499069.bmoattachments.org (bug1499069.bmoattachments.org)|52.38.29.31|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Content-Disposition: inline; filename*=UTF-8''testfile.txt
Content-Security-Policy-Report-Only: default-src 'self'; worker-src 'none'; connect-src 'self' https://product-details.mozilla.org https://www.google-analytics.com https://treeherder.mozilla.org/api/failurecount/ https://crash-stats.mozilla.org/api/SuperSearch/; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob: https://secure.gravatar.com; object-src 'none'; script-src 'self' 'nonce-cPJzwcRmLr0nx4bskEsPYHr7lfzQAImGg0mcVv2PVHfTEpVZ' 'unsafe-inline' https://www.google-analytics.com; style-src 'self' 'unsafe-inline'; frame-src https://crash-stop-addon.herokuapp.com; frame-ancestors 'self'; form-action 'self' https://www.google.com/search https://github.com/login/oauth/authorize https://github.com/login https://phabricator.services.mozilla.com/
Content-Type: text/plain
Date: Mon, 16 Aug 2021 12:30:32 GMT
Referrer-policy: same-origin
Server: openresty/1.17.8.2
Set-Cookie: Bugzilla_login_request_cookie=0j0k1JxzWv; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: github_secret=REnYdYkEIXe0kpNQaGF5DpkVoaIaAHLsHblY1IRScqa4wVkHkL7SxQTttHkE7zRVS7DnXuGyKokRgGdhUQFweZU4LRYEU6UHRyDXnZekHtKqJeNsPDJc0mTMHL4tlww0o6tbnunoVIt7nHyoQu8HucJGJeeVjW1P1qX8IbgE5g8EZVZV6wiG2DXx0mz9Z4WmksDhCE1kQBpDWcIVjonBsHZk4oLg26AIhRPz5djeMz9drP9x72MUh3HwjbcNsMqG; path=/; secure; HttpOnly; SameSite=Lax
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-content-type-options: nosniff
X-xss-protection: 1; mode=block
Content-Length: 12
Connection: keep-alive
Length: 12 [text/plain]
Description
•