I regularly run across plaintext source files and diff files that the remote server has "helpfully" tagged with MIME types of text/x-csrc, text/x-cheader, text/x-patch, etc.. Seamonkey insists on invoking an external program to view these things, but I just want to quickly see them in the browser before deciding what to do next. I want to be able to configure the browser to recognize them as aliases for "text/plain" and then just handle them with the internal text viewer. After surfing thru MXR it appears the only way to accomplish this is by adding some entry points to layout/build/nsContentDLF.cpp to register some type/alias pairs for it to search thru when deciding what to do with a document. Is this the right place to be looking, or am I in the wrong place?
Component: File Handling → File Handling
Product: Core → Firefox
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.