mway08 / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
Other
0 stars 0 forks source link

JSP TagLibrary additional tags and EL functions:W #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by schal...@darkmist.net on 17 Oct 2009 at 4:53

GoogleCodeExporter commented 9 years ago
Ooops... enter in the summary line submits the whole thing....

The attached patch adds missing tags for other encoding methods (though not 
ldap, sql
or os) and EL functions for encoding methods.

trunk-taglib-enhancements-i36-i37.patch.gz
        if issue 36 and issue 37 patches have been applied
trunk-taglib-enhancements.patch.gz
        from current trunk (revision 700) including patches in issue 36 and issue 37

details:

add throws JspTagException to BaseCodeTag#encode so subclass can throw
        exceptions
add ELEncodeFunctions class
        provides public static methods that call ESAPI.encoder() methods
        allows for EL functions in new taglib
add tags for missing & useful encoding:
        EncodeForBase64Tag
        EncodeForCSSTag
        EncodeForURLTag
        EncodeForXMLAttributeTag
        EncodeForXMLTag
        EncodeForXPathTag
rename EncodeForHTMLJavasSript to EncodeForJavaScript
        previous name was inaccurate and confusing
minor javadoc fixes
        EncodeForHTMLAttributeTag
        EncodeForHTMLTag
        EncodeForJavaScriptTag
        EncodeForVBScriptTag
esapi.tld:
        update from JSP spec 1.1 DTD to JSP spec 2.0 xml schema
                required for EL functions
        add descriptions
        add new tags
        add EL functions

Original comment by schal...@darkmist.net on 17 Oct 2009 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
I will review after RC3 for inclusion in 2.0 final

Original comment by chrisisbeef on 23 Oct 2009 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by chrisisbeef on 29 Oct 2009 at 5:12

GoogleCodeExporter commented 9 years ago
Update patch now that issue 36 has been fixed. This patch assumes that the 
issue 37
patch has already been applied.

Original comment by schal...@darkmist.net on 2 Nov 2009 at 10:47

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied in revision 745 & 746

Original comment by schal...@darkmist.net on 4 Nov 2009 at 7:37