Reviewers: ihab.awad,
Description:
ptwobrussel said at
http://code.google.com/p/google-caja/issues/detail?id=1061
The fix is to go into whitelist/html_attrib.json and change : to ::
for separators. Apparently, this file didn't get updated when the
separator changed in the past? Not sure what the history is on that.
Please review this at http://codereview.appspot.com/110098
Affected files:
M experimental/prototype/test/lib/caja/whitelist/html_attrib.json
Index: experimental/prototype/test/lib/caja/whitelist/html_attrib.json
===================================================================
--- experimental/prototype/test/lib/caja/whitelist/html_attrib.json
(revision 3663)
+++ experimental/prototype/test/lib/caja/whitelist/html_attrib.json
(working copy)
@@ -16,36 +16,36 @@
"types": [
{
- "key": "A:ACCESSKEY",
+ "key": "A::ACCESSKEY",
"description": "Allow the A:ACCESSKEY accessibility key character",
"pattern": ".?",
"optional": true
},
{
- "key": "INPUT:TYPE",
+ "key": "INPUT::TYPE",
"description": "Overwrite INPUT:TYPE rule to allow for DATE value.",
"pattern": "TEXT|PASSWORD|CHECKBOX|RADIO|SUBMIT|RESET|FILE|HIDDEN|
IMAGE|BUTTON|DATE",
"optional": true
},
{
- "key": "A:TABINDEX",
+ "key": "A::TABINDEX",
"description": "Overwrite A:TABINDEX to allow for an empty value",
"pattern": ".*",
"optional": true
},
{
- "key": "DIV:FOO",
- "description": "Custom BAR attribute.",
+ "key": "DIV::FOO",
+ "description": "Custom FOO attribute.",
"pattern": ".*",
"optional": true
},
{
- "key": "DIV:BAR",
- "description": "Custom FOO attribute",
+ "key": "DIV::BAR",
+ "description": "Custom BAR attribute",
"pattern": ".*",
"optional": true
}