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

Fix issue #342:URI malformed error. #356

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

RomanBurunkov
Copy link
Collaborator

This PR fixes issue #342.

Unlike PR #343, this fix checks all of the not supported by the decodeURIComponent function characters.

uriDecodeFileName function now doesn't throw error when fileName param contains not supported by the decodeURIComponent characters.

Not supported characters will be removed from the result file name.

@coveralls
Copy link

Coverage Status

coverage: 94.704% (+0.2%) from 94.551% when pulling 2ba446a on RomanBurunkov:master into ee8e711 on richardgirges:master.

@RomanBurunkov RomanBurunkov merged commit 773dfa3 into richardgirges:master Sep 20, 2023
7 checks passed
@boly38
Copy link

boly38 commented Sep 25, 2023

Hey @RomanBurunkov :)

I haven't had time to go back to my PR but I am 100% aligned with your resumption of my suggestion

thank you very much for your fix 👍

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.

3 participants