Menu

Commit [r2703]  Maximize  Restore  History

Follow-up to [2700]: if the `render_unsafe_content` option is set to false, don't allow the direct rendering of any text content. This is to workaround the unfortunate fact that some browsers (IE and Safari) will sniff the actual content of a file to detect whether it contains HTML, and render the text as HTML if it does.

cmlenz 2005-12-30

changed /trunk/trac/attachment.py
/trunk/trac/attachment.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB