Skip to content

fix to get extension if link has query params after extension#185

Merged
dr-dimitru merged 1 commit intoveliovgroup:masterfrom
salmanhasni:ext-fix
Aug 14, 2016
Merged

fix to get extension if link has query params after extension#185
dr-dimitru merged 1 commit intoveliovgroup:masterfrom
salmanhasni:ext-fix

Conversation

@salmanhasni
Copy link
Copy Markdown
Contributor

@salmanhasni salmanhasni commented Aug 13, 2016

Previous Behavior
Previously getExt return the object with extension having any string after "."

Now
getExt will return ext in between '.' and '?' (so it trim the query params including question mark)

Blocking Cause
On Windows Special characters (which are found in query params '?' '&' ) are not allowed in file or folder naming convention therefore not allowing file stream to write.

Tested On
Windows 10

This PR is raise again this issue

@salmanhasni
Copy link
Copy Markdown
Contributor Author

@dr-dimitru Can you please review it

@dr-dimitru
Copy link
Copy Markdown
Member

Could you please send this PR to dev branch?

@salmanhasni
Copy link
Copy Markdown
Contributor Author

@dr-dimitru Sure

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.

2 participants