Skip to content
Snippets Groups Projects
Commit b2ae7cfb authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed an url encoding issue in the h5groove integration.

Changelog: Fixed
parent 19b7da45
No related branches found
No related tags found
1 merge request!1906Fixed a url encoding issue in h5groove integration.
Pipeline #208150 passed
......@@ -123,8 +123,11 @@ async def add_upload_folder_path(request: Request, call_next):
query_string = re.sub(
r'file=.+?(?:&|\Z)', f'file={upload_path}{file}&', query_string
)
query_string = re.sub(r'path=.+?(?:&|\Z)', f'path={path}&', query_string)
query_string = re.sub(
r'path=.+?(?:&|\Z)', f'path={urllib.parse.quote(path)}&', query_string
)
scope['query_string'] = query_string.encode('utf-8')
response = await call_next(Request(scope))
return response
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment