Skip to content

Uploading SLO object with question mark in the filename breaks SLO downloading  #2

@mmcardle

Description

@mmcardle

Upload a file with a question mark

(all-virt-16)Marks-MacBook-Pro-2:Downloads mm$ swift upload test w\?\?KjGKxjvQKQ.mp4 --use-slo -S 3000000
w??KjGKxjvQKQ.mp4 segment 0
w??KjGKxjvQKQ.mp4 segment 3
w??KjGKxjvQKQ.mp4 segment 2
w??KjGKxjvQKQ.mp4 segment 4
w??KjGKxjvQKQ.mp4 segment 1
w??KjGKxjvQKQ.mp4

Try to download

(all-virt-16)Marks-MacBook-Pro-2:Downloads mm$ swift download test w??KjGKxjvQKQ.mp4
Object GET failed: http://192.168.56.108:8080:8080/v1/AUTH_d61db695cd1e4479b4a28b4f2be6d82f/test/w%3F%3FKjGKxjvQKQ.mp4 500 Internal Error   An error occurred

Server side error

proxy-server: Error: An error occurred: #012Traceback (most recent call last):#012  File "/opt/stack/swift/swift/common/middleware/catch_errors.py", line 36, in handle_request#012    
resp = self._app_call(env)#012  File "/opt/stack/swift/swift/common/wsgi.py", line 528, in _app_call#012    first_chunk = resp.next()#012  File "/opt/stack/swift/swift/common/middleware/proxy_logging.py", line 247, in iter_response#012    
chunk = iterator.next()#012  File "/opt/stack/swift/swift/common/request_helpers.py", line 307, in __iter__#012    (self.name, seg_resp.status_int, seg_path))#012SegmentError: ERROR: While processing manifest /v1/AUTH_d61db695cd1e4479b4a28b4f2be6d82f/test/w%3F%3FKjGKxjvQKQ.mp4, 
got 404 while retrieving /v1/AUTH_d61db695cd1e4479b4a28b4f2be6d82f/test_segments/w??KjGKxjvQKQ.mp4/slo/1421749276.000000/12862884/3000000/00000000 (txn: txa1a272798bfb4c4c9d978-0054be2d8d)

This is in the SLO manifest

"name": "/test_segments/w??KjGKxjvQKQ.mp4/slo/1421749276.000000/12862884/3000000/00000003"
/v1/AUTH_d61db695cd1e4479b4a28b4f2be6d82f/test_segments/w??KjGKxjvQKQ.mp4/slo/1421749276.000000/12862884/3000000/00000000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions