We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da9be4 commit d3f85dcCopy full SHA for d3f85dc
flask_cors/extension.py
@@ -1,5 +1,5 @@
1
import logging
2
-from urllib.parse import unquote_plus
+from urllib.parse import unquote
3
4
from flask import request
5
@@ -188,7 +188,7 @@ def cors_after_request(resp):
188
if resp.headers is not None and resp.headers.get(ACL_ORIGIN):
189
LOG.debug("CORS have been already evaluated, skipping")
190
return resp
191
- normalized_path = unquote_plus(request.path)
+ normalized_path = unquote(request.path)
192
for res_regex, res_options in resources:
193
if try_match(normalized_path, res_regex):
194
LOG.debug(
0 commit comments