Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 886019b

Browse files
committed
Handle object names containing slashes
1 parent c5fd513 commit 886019b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift_upload_runner/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async def servinit() -> aiohttp.web.Application:
5050

5151
# Add api routes
5252
app.add_routes([
53-
aiohttp.web.get("/{project}/{container}/{object_name}",
53+
aiohttp.web.get("/{project}/{container}/{object_name:.*}",
5454
handle_get_object),
5555
aiohttp.web.get("/{project}/{container}",
5656
handle_get_container),

0 commit comments

Comments
 (0)