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)

defect
Not set
normal

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.
*** Bug 151118 has been marked as a duplicate of this bug. ***
*** Bug 215047 has been marked as a duplicate of this bug. ***
*** Bug 230458 has been marked as a duplicate of this bug. ***
reassigning endico's bugs to default owner
Assignee: endico → chase
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
QA Contact: timeless → lxr
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
QA Contact: timeless → lxr

mxr is gone, mass closing.
https://searchfox.org/ is a much better alternative.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.