Sanitize user input: Difference between revisions

m
(→‎{{header|Wren}}: Added file(s), director(y|ies) to the blacklist.)
Line 37:
<span style="color: #7060A8;">puts</span><span style="color: #0000FF;">(</span><span style="color: #000000;">1</span><span style="color: #0000FF;">,</span><span style="color: #000000;">header</span><span style="color: #0000FF;">)</span> <span style="color: #000080;font-style:italic;">-- (make the example runnable)</span>
<!--</lang>-->
In other words I had to "santizesanitize" a constant in the source code, in this particular case, and I could have gone further and done something similar with all the other tags.<br>
In practice there was no need to because the generated JavaScript was already always inside a script tag.
 
7,794

edits