andytanoko / owasp-esapi-java

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

Refactor jsp tag handlers to remove duplicated functionality #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Refactor JSP tag handlers to have duplicated functionality in a common base
class.

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

Patch is vs. trunk revision 688

Please provide any additional information below.

        * Refactor common encode tag code to BaseEncodeTag
        * change tags to extend BaseEncodeTag
        * replace tag's implementation of doAfterBody with implementation
                of BaseCodeTag's abstract encode method.
        * bump tag's serialVersionUIDs again as the superclass has changed.
        * add javadoc comments

Original issue reported on code.google.com by schal...@darkmist.net on 15 Oct 2009 at 6:16

GoogleCodeExporter commented 9 years ago
Blasted... I just realized that I messed up a bit. The new EncodeForHTMLTag is
calling encodeForHTMLAttribute....

Here's the fixed patch...

Original comment by schal...@darkmist.net on 15 Oct 2009 at 7:09

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied

Original comment by chrisisbeef on 15 Oct 2009 at 8:51