DescriptionMake HtmlEscape escape '/' again in UNKNOWN mode.
This is a XSS-prevention recommendation.
If escaped code is only ever used inside a quoted attribute or as element text,
escapeing '/' is not necessary.
However, if the escaped code is inserted inside a tag (for example assuming
that it is a well-behavde attribute), then a slash may be meaningful in some
cases. Lots of other things can go wrong in that case, so we recommend against
it.
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45153
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (2 generated)
|