-
Notifications
You must be signed in to change notification settings - Fork 177
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
[document_repository] Solves special characters issue #7383
[document_repository] Solves special characters issue #7383
Conversation
I only tested the file name with ">" or "<". It works. |
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.
LGTM
@ridz1208 If we could add this PR to the 23 bugfix release it would be great |
This PR still needs a script to change the file names in the sql table as well as in /data/document_repository_uploads |
The script works on my VM but I cant seem to find why the test suite is failing. |
Thanks @kongtiaowang |
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.
LGTM
@@ -0,0 +1,55 @@ | |||
<?php |
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.
before SQL
Brief summary of changes
Solves an issue when if using special characters (&, <, >, ") the file download fails and the name of the file appears incorrectly in the browse tab of the document repository
Testing instructions (if applicable)