Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

extension_whitelist is not case-insensitive for regular expressions #2177

Closed
jayantsharma opened this issue May 16, 2017 · 1 comment
Closed

Comments

@jayantsharma
Copy link

I'm aware that a past PR made extension whitelists case-insensitive. However, when the whitelist includes a Regexp, the whitelisting is not case-insensitive for the set of extensions the Regexp aims at. For example, [ /jpe?g/, 'png' ] does not accept the extension 'JPG', but will accept the extension 'PNG'.

@mshibuya
Copy link
Member

Closed by #2201.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants