Skip to content

Fix RegEx used to parse attachment filename - #1

Open
faiteanu wants to merge 1 commit into
littleyoda:masterfrom
faiteanu:master
Open

faiteanu wants to merge 1 commit into
littleyoda:masterfrom
faiteanu:master

Conversation

@faiteanu

@faiteanu faiteanu commented Mar 4, 2021

Copy link
Copy Markdown

Previous code comment says "Code taken from http://stackoverflow.com/q/16086162", but copied incorrectly. Filename may be enclosed in single quotes, double quotes or no quotes at all.
Additionally added decodeURIComponent() to get a proper filename.

Previous code comment says "Code taken from http://stackoverflow.com/q/16086162", but copied incorrectly. Filename may be enclosed in single quotes, double quotes or no quotes at all.
Additionally added decodeURIComponent() to get a proper filename.
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.

1 participant