Status: Accepted
Owner: ----
Labels: Type-Defect Priority-High
New issue 1549 by jussi.ao...@gmail.com: Escaping </script> is broken
http://code.google.com/p/robotframework/issues/detail?id=1549
Execute the following test suite:
*** Test Cases ***
Break logs
Log <script></script> HTML
Log THIS WE SHOULD NOT SEE!
And look at the log. The closing </script> breaks the window.string
For example escaping '</' with '\\x3c/' fixes it:
class StringDumper(_Dumper):
_handled_types = basestring
_search_and_replace = [('\\', '\\\\'), ('"', '\\"'), ('\t', '\\t'),
('\n', '\\n'), ('\r', '\\r'), ('</', '\\x3c/')]
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.