Closed sharh closed 4 years ago
The regular expression matches the actual spec in https://tools.ietf.org/html/rfc6266 . The filename attribute's value cannot contain a space character unless you close in it double quotes. The specification also does not say the value is URI encoded, unless you can point out where that is stated in https://tools.ietf.org/html/rfc6266
this cannot match space.
should change
PARAM_REGEXP
to:and then in here, should
decodeURIComponent
the value: