Custom-namespaced elements using colons is supposed to be allowed specifically via the HTML spec. We should make sure this doesn't break.
| Comment | File | Size | Author |
|---|---|---|---|
| #22 | 2321061-22.patch | 1.37 KB | mstrelan |
| #22 | 2321061-22-testonly.patch | 798 bytes | mstrelan |
| #9 | xss_split_fails_on-2321061-9.patch | 1.31 KB | star-szr |
| #5 | 2321061-xss-split-custom-element-colon-tag-name.patch | 1.31 KB | dave reid |
| #5 | 2321061-xss-split-custom-element-colon-tag-name-TEST-ONLY.patch | 744 bytes | dave reid |
Comments
Comment #1
dave reidComment #2
dave reidComment #5
dave reidOk let's try with a closing tag.
Comment #8
dave reidComment #9
star-szrHere's a rerolled (actually recreated because it's so small) patch that applies against 8.0.x, 8.1.x, and 8.2.x. I didn't run any tests against it.
Comment #22
mstrelan commentedUpdated patch for 10.1.x. Also fixed the failing tests because they weren't passing
test:elementas an allowed tag toXss::filter.Comment #23
darvanenIt would seem in the 8 years since this issue was created that the HTML spec has changed or moved on.
The current spec does not include ':' or '#x3A' (colon character) in the list of allowed characters for custom elements.
I think this should be Closed (works as designed).
Comment #26
darvanenClosing per #23 after discussion with @mstrelan and @DanielVeza at #DrupalSouth.