commit | 75cf409b121f223bc1425dfe3e96eafa4ba23be2 | [log] [tgz] |
---|---|---|
author | mdempsky@google.com <mdempsky@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Dec 03 23:34:02 2012 +0000 |
committer | mdempsky@google.com <mdempsky@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Mon Dec 03 23:34:02 2012 +0000 |
tree | 35c82a500b1480c4707fe44c391fb93224d3ed72 | |
parent | 115e1a74ce49d30f8c0336211e8407d0ce211c36 [diff] |
Escape HTML special characters in GWT-RPC responses like GSON does. Also, don't escape NUL as "\0". If a NUL character is followed by an octal digit in the original string, then the resulting string will be misparsed. E.g., "\07" will be parsed as a single character string instead of a two character string. Change-Id: Ifb82cb638d2cc356925a4ba84bb5f6662ca818ac Review-Link: https://gwt-review.googlesource.com/#/c/1360/ Review by: skybrian@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11403 8db76d5a-ed1c-0410-87a9-c151d255dfc7