Description1. <div class="!@#$%"></div> is valid html, and it was accepted by
an earlier version of caja, but now it isn't. This change removes
the constraint. This is important because some coders and libs
use @class to store metadata about the node.
2. <input name="foo[]"> is not valid html, but it's commonly used,
and browsers allow it. This change extends the range of allowed
characters in ids, and adds a browser-expectations test to verify
that browsers do not mangle weird ids.
3. browser-side sanitization didn't handle IDREFS attribute values
correctly. This change fixes that. At the moment, IDREFS are not
that useful, but they'll become more useful when the various aria
attributes are supported.
4. cajoler-side sanitizer mangles GLOBAL_NAME attributes, but
browser-side sanitizer doesn't. This change makes them
both mangle.
5. browser-side and cajoler-side policies were inconsistent
about whether <input name='foo__'> is allowed or not.
This change removes the inconsistency.
6. some minor changes to jsunit.js to make it more convenient
on various browsers.
Patch Set 1 #Patch Set 2 : fix 1057, class= attributes are too restrictive #Patch Set 3 : fix 1057, class= attributes are too restrictive #
Total comments: 7
Patch Set 4 : fix 1057, class= attributes are too restrictive #Patch Set 5 : fix 1057, class= attributes are too restrictive #Patch Set 6 : fix 1057, class= attributes are too restrictive #
Total comments: 13
Patch Set 7 : fix 1057, class= attributes are too restrictive #Patch Set 8 : fix 1057, class= attributes are too restrictive #
Total comments: 4
Patch Set 9 : fix 1057, class= attributes are too restrictive #Patch Set 10 : fix 1057, class= attributes are too restrictive #
Total comments: 11
Patch Set 11 : fix 1057, class= attributes are too restrictive #MessagesTotal messages: 22
|