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

Do not display rmagick exception in I18n message #1361

Merged
merged 1 commit into from
Nov 19, 2014

Conversation

manuelpradal
Copy link
Contributor

For instance, if you upload a text file with a JPG extension, rmagick generate an exception, whose message contains the full path of your project directory. It seems to me that it's a security issue, since the generated message displayed to the frontoffice user contains the server project directory.
I didn't test other cases (for the orher messages), but potentially this problem can appear somewhere else

For instance, if you upload a text file with a JPG extension, rmagick generate an exception, whose message contains the full path of your project directory. It seems to me that it's a security issue, since the generated message displayed to the frontoffice user contains the server project directory.
I didn't test other cases (for the orher messages), but potentially this problem can appear somewhere else
bensie added a commit that referenced this pull request Nov 19, 2014
Do not display rmagick exception in I18n message
@bensie bensie merged commit af00d88 into carrierwaveuploader:master Nov 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants