Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Sep 9, 2019

Found when working on #17077

To test just navigate to an invalid link share.

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer rullzer added bug 3. to review Waiting for reviews labels Sep 9, 2019
@rullzer rullzer added this to the Nextcloud 18 milestone Sep 9, 2019
@rullzer
Copy link
Member Author

rullzer commented Sep 9, 2019

/backport to stable17

@ChristophWurst
Copy link
Member

Why in NotFoundResponse and not the Response base class?

@rullzer
Copy link
Member Author

rullzer commented Sep 10, 2019

Why in NotFoundResponse and not the Response base class?

Because not all responses should have the main CSP set.
Only user facing responses should

@rullzer rullzer merged commit 776889f into master Sep 10, 2019
@rullzer rullzer deleted the fix/default_csp_404 branch September 10, 2019 07:23
@backportbot-nextcloud
Copy link

backport to stable17 in #17079

@nickvergessen
Copy link
Member

So actually this could just extend the TemplateResponse?

@rullzer
Copy link
Member Author

rullzer commented Sep 10, 2019

So actually this could just extend the TemplateResponse?

yes that would also make sense I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants