Hi Mat,

On 5/3/2013 6:40 PM, Matthias Toggweiler wrote:
Awesome, 5 minute reaction time on this mailing list. Thanks for the
fix, Stephan.

I am likewise amazed at how quickly answers/fixes often appear on this list.

I came across this issue with HTML because I am designing a new
fossil skin, and I am aware that this little issue is irrelevant for
people who manage other types of source code.

This is a completely legitimate issue, and it had been bothering me for a while, too. Thanks for giving me the nudge I needed to look into fixing it. I've committed a fix to trunk here:

http://www.fossil-scm.org/index.html/info/63443f920b

This is actually a lot simpler of a fix than your proposals. Instead of inlining the HTML file directly into the artifact page, it simply loads it from a sandboxed iframe. This lets us maintain the current functionality of actually displaying the rendered HTML but prevents interference from scripts/styles that may be present in the file.

I've tested it in Firefox, Chrome, and IE on Windows. If anyone else finds any problems with it, please let me know.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to