Skip to content
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

[stable10] Don't print exception message in HTML #1343

Merged
merged 1 commit into from Sep 9, 2016

Conversation

LukasReschke
Copy link
Member

The exception message is potentially influenced by user input and could thus be confusing (e.g. somebody could try to open a file like "Please send a mail to support@foo.com", and then the message would include that string.

It is thus reasonable to not show the exception message by default. Also for the browser view I added an exit() at the end, as otherwise the XML exception would be attached.

Stable10 for #1342

The exception message is potentially influenced by user input and could thus be confusing (e.g. somebody could try to open a file like "Please send a mail to support@foo.com", and then the message would include that string.

It is thus reasonable to not show the exception message by default. Also for the browser view I added an `exit()` at the end, as otherwise the XML exception would be attached.
@LukasReschke LukasReschke added the 3. to review Waiting for reviews label Sep 9, 2016
@LukasReschke LukasReschke added this to the Nextcloud 10.0.1 milestone Sep 9, 2016
@mention-bot
Copy link

@LukasReschke, thanks for your PR! By analyzing the annotation information on this pull request, we identified @DeepDiver1975 and @nickvergessen to be potential reviewers

@MorrisJobke
Copy link
Member

Tested and works 👍

@rullzer
Copy link
Member

rullzer commented Sep 9, 2016

LGTM

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 9, 2016
@rullzer rullzer merged commit 70231dc into stable10 Sep 9, 2016
@rullzer rullzer deleted the stable10-throw-exceptions-not-printable branch September 9, 2016 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants