Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue: Files cannot be downloaded if magic_quotes is activated …
…on the server
- Loading branch information
0a0633a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have to test if magic_quote is active ?
ans same on decode ? json_encode add slash.
0a0633a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should assume it's off. If not we should instead just warn the user during installation:
http://php.net/manual/en/security.magicquotes.php
Since we require php 5.3 where it is deprecated it makes no sense to add code to support this.