forked from I2P_Developers/i2p.i2p
Package changelogs
Fix extra chars in patch 1 Fix javadoc causing build error on Trusty Deb build doc updates
This commit is contained in:
@@ -248,9 +248,9 @@ public class I2PDefaultServlet extends DefaultServlet
|
||||
* Copied unchanged from Resource.java
|
||||
*
|
||||
* Encode any characters that could break the URI string in an HREF.
|
||||
* Such as <a href="/path/to;<script>Window.alert("XSS"+'%20'+"here");</script>">Link</a>
|
||||
* Such as <a href="/path/to;<script>Window.alert("XSS"+'%20'+"here");</script>">Link</a>
|
||||
*
|
||||
* The above example would parse incorrectly on various browsers as the "<" or '"' characters
|
||||
* The above example would parse incorrectly on various browsers as the "<" or '"' characters
|
||||
* would end the href attribute value string prematurely.
|
||||
*
|
||||
* @param raw the raw text to encode.
|
||||
|
||||
Reference in New Issue
Block a user