Commit 320843e8 authored by Łukasz Nowak's avatar Łukasz Nowak

Cover another corner case.

parent 722dbd53
...@@ -433,6 +433,8 @@ Check if the parsing url method works correctly, in low-level: ...@@ -433,6 +433,8 @@ Check if the parsing url method works correctly, in low-level:
'id=700c7d5382b01f94e7141' 'id=700c7d5382b01f94e7141'
>>> get_filename_from_url("http://localhost/tarball-5.1.tar.gz?id=700") >>> get_filename_from_url("http://localhost/tarball-5.1.tar.gz?id=700")
'tarball-5.1.tar.gz' 'tarball-5.1.tar.gz'
>>> get_filename_from_url("http://localhost/somedir/?")
'somedir'
Check if the networkcache upload method is using the correct method to Check if the networkcache upload method is using the correct method to
parse the original url and get the file name: parse the original url and get the file name:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment