Closed
Bug 116171
Opened 23 years ago
Closed 5 years ago
"Binary File" links should try to send a nice content-type
Categories
(Webtools Graveyard :: MXR, defect)
Webtools Graveyard
MXR
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jmd, Assigned: timeless)
References
()
Details
At the above URL, if you click "Binary File", LXR sends thumb-vrt-act.png as text/plain, which is how Moz renders it. It's clearly a image/png by its extention, LXR should check a mime.types file.
Comment 1•21 years ago
|
||
*** Bug 151118 has been marked as a duplicate of this bug. ***
Comment 2•21 years ago
|
||
*** Bug 215047 has been marked as a duplicate of this bug. ***
*** Bug 230458 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
Updated•18 years ago
|
QA Contact: timeless → lxr
Comment 6•18 years ago
|
||
Reassigning all LXR bugs assigned to build@mozilla-org.bugs to the default LXR owner (sorry Bear!) We aren't actively working on these (if that's wrong, please reassign to yourself/a real person).
Assignee: build → bear
QA Contact: lxr → timeless
bad example. mxr-test already special cased images. fixed on mxr-test see is_binary and get_mime_type in lib/LXR/Common.pm
Updated•18 years ago
|
QA Contact: timeless → lxr
So, for some cases mxr does the right thing... svgz: http://mxr.meego.com/repo.meego.com/source/calligra/pics/hicolor/hisc-action-bring_forward.svgz Binary File: http://mxr.meego.com/repo.meego.com/source/calligra/pics/hicolor/hisc-action-bring_forward.svgz?raw=1&ctype=image/svg+xml svg: http://mxr.meego.com/repo.meego.com/source/calligra/pics/hicolor/hisc-action-artistictext-attach-path.svg Image: http://mxr.meego.com/repo.meego.com/source/calligra/pics/hicolor/hisc-action-artistictext-attach-path.svg?raw=1&ctype=image/svg+xml This doesn't actually do the right thing: png: http://mxr.meego.com/repo.meego.com/source/calligra/pics/hicolor/hi48-app-key_bindings.png Image: http://mxr.meego.com/repo.meego.com/source/calligra/pics/hicolor/hi48-app-key_bindings.png?raw=1 <- actually, that's perhaps not ideal http://mxr.meego.com/repo.meego.com/source/docbook-style-dsssl/images/ has a bunch of others which are probably not handled particularly well. Sadly I don't think eps or pdf are likely to change (they look like text!), but I should be able to fix the image cases.
Assignee: bear → timeless
Comment 9•5 years ago
|
||
mxr is gone, mass closing.
https://searchfox.org/ is a much better alternative.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•