Uh oh!
There was an error while loading. Please reload this page.
Move to stricter CSP - #11028
Conversation
efcec80 to
d839df2Comparerullzer
commented
Sep 28, 2018
Next one: |
ad7e58b to
7b986d3Compare7b986d3 to
c9c8c60Comparerullzer
commented
Oct 4, 2018
So I think this is good to get in. Other stuff we should fix once we run into it. |
| @@ -49,7 +49,7 @@ class ContentSecurityPolicy extends EmptyContentSecurityPolicy { | |||
| * TODO: Disallow per default | |||
ChristophWurst
commented
Oct 9, 2018
https://github.com/search?q=%22OC.AddScript%22&type=Code have fun 🙈 |
ChristophWurst
commented
Oct 9, 2018
MorrisJobke
commented
Oct 9, 2018
I only have found richdocuments and files_texteditor. 🤷♂️ |
ChristophWurst
commented
Oct 9, 2018
I've pushed my fix that replaces the eval code with |
rullzer
commented
Oct 9, 2018
@ChristophWurst richdocuments still works with this! yay! |
dd1d0ce to
ea0d692Compare| #### DO NOT CHANGE ANYTHING ABOVE THIS LINE #### | ||
| ErrorDocument 403 / | ||
| ErrorDocument 404 / |
MorrisJobke
left a comment
There was a problem hiding this comment.
Tested and didn't explode 👍
ea0d692 to
ca3d964CompareMorrisJobke
commented
Oct 11, 2018
JS unit fails. |
f738ae3 to
385cfffCompareSigned-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
No more weird eval to construct a plural function. We just use the plural function from symfony. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
385cfff to
056a74eCompareMorrisJobke
commented
Nov 9, 2018
@Arvidas mind to open a new ticket and link here? |
JS unsafe-eval was removed a long time ago in #11028

Do not allow unsafe eval by default.
🚧
Last merge for https://github.com/orgs/nextcloud/projects/18
This will be rebased several times to validate CSP behavior
TODO:
This will kill of OC.AddScriptconverted by mr @ChristophWurst