Package org.owasp.encoder.tag
Class ForUriTag
java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
org.owasp.encoder.tag.EncodingTag
org.owasp.encoder.tag.ForUriTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.SimpleTag
Deprecated.
A tag to perform percent-encoding of a URL according to RFC 3986.
This wraps the
Encode.forUri(java.lang.String).- Author:
- Jeremy Long (jeremy.long@gmail.com)
-
Field Summary
Fields inherited from class org.owasp.encoder.tag.EncodingTag
_value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.owasp.encoder.tag.EncodingTag
setValueMethods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
ForUriTag
public ForUriTag()Deprecated.
-
-
Method Details
-
doTag
Deprecated.- Specified by:
doTagin interfacejakarta.servlet.jsp.tagext.SimpleTag- Overrides:
doTagin classjakarta.servlet.jsp.tagext.SimpleTagSupport- Throws:
jakarta.servlet.jsp.JspExceptionIOException
-
ForUriComponentTagfor each untrusted value inserted into a URL. SeeEncode.forUri(java.lang.String)for how to handle an entire untrusted URL. Retained for compatibility in all 1.x releases.