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 public class ForUriTag extends EncodingTag
Deprecated.
Use ForUriComponentTag for each untrusted value inserted into a URL. See Encode.forUri(java.lang.String) for how to handle an entire untrusted URL. Retained for compatibility in all 1.x releases.
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
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     

    Methods inherited from class org.owasp.encoder.tag.EncodingTag

    setValue

    Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport

    findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ForUriTag

      public ForUriTag()
      Deprecated.
  • Method Details

    • doTag

      public void doTag() throws jakarta.servlet.jsp.JspException, IOException
      Deprecated.
      Specified by:
      doTag in interface jakarta.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class jakarta.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      jakarta.servlet.jsp.JspException
      IOException