Open me4502 opened 1 year ago
Thanks for contributing!
I haven't had a chance to test this yet, but would it be better to call encodeURIComponent
on redirectPath
instead? Is it possible that redirectPath
might contain characters such as "#" or "?", and if it does should these also be escaped?
How are your redirects being generated that they contain non-ASCII characters, is toPath
always unencoded? Or are there situations where this change might result in double encoding?
When using non-ascii characters in a URL, the redirect path fails upon upload. This encodes the URI to use encoded path symbols. For non-ascii paths this will make no change