Skip to content

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 [email protected]", 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.

@rullzer Thoughts?

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 [email protected]", 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 11.0 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

@rullzer
Copy link
Member

rullzer commented Sep 9, 2016

Yeah lets do it like this.
👍

@MorrisJobke
Copy link
Member

Tested and works 👍

@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
@MorrisJobke MorrisJobke merged commit 3fc37b2 into master Sep 9, 2016
@MorrisJobke MorrisJobke deleted the throw-exceptions-not-printable branch September 9, 2016 12:57
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.

5 participants