Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.4, Release 1.5
-
Fix Version/s: Release 1.5.1, Release 1.6
-
Component/s: Tag Library
-
Labels:None
Description
Do stripes:* tags encode html entities? I encounter some un-encoded labels with stripes:options-collection (specifically, bare "&" that didn't translate to "&" between the rendered <option...>...</option> tags). This may also apply to other tags...
Preferred change to Stripes: ensure that everything rendered by any Stripes tag (other than stripes:url) is html-encoded correctly.
Turns out that Stripes actually does HTML encode all attributes on input tags.... But option labels are output as the body of the option tag, and were not being encoded. I've changed this to encode the option label too.