-
Notifications
You must be signed in to change notification settings - Fork 292
Fixes 2814, 2815 #2816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fixes 2814, 2815 #2816
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,7 +83,10 @@ function Configuration() { | |
| maxLoginAttempts: 3, | ||
| ckEditorHtmlSupport: { | ||
| allow: [{ | ||
| name: "^(blockquote|ul|ol|span)$" | ||
| name: "^(blockquote|ul|ol|span)$", | ||
| "attributes": true, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Won't this allow There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was added to allow aria-hidden, if we think the above is a risk then we can add specific attributes. I believe like this:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It definitely is a risk if it allows all attributes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @simondate , so allow, aria-hidden, aria-label?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would want If
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this work? {
"name": ".*",
"attributes": "^(id|role|aria-.+|data-.+|target|href)$",
"classes": true,
"styles": true
},In theory that should allow all
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. bump
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've been using this PR for months with my own clients, no issue. I just thought that we weren't doing any more merges to the "Legacy" AAT anymore?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's been waiting for you to respond to the above question. It has security implications.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We might also need @StuartNicholls / @fosterc1 can you think of anything else you would want? |
||
| "classes": true, | ||
| "styles": true | ||
| },{ | ||
| name: ".*", | ||
| classes: true, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.