Skip to content

Commit 2ad4a4c

Browse files
authored
Merge pull request #92 from nOOb3167/patch-1
basic_streaming transfer adapter handling of 'filename' URL parameter
2 parents 07b9d44 + 8cacd3a commit 2ad4a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

giftless/transfer/basic_streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get(self, organization, repo, oid):
8282
path = os.path.join(organization, repo)
8383

8484
filename = request.args.get('filename')
85-
filename = safe_filename(filename)
85+
filename = safe_filename(filename) if filename else None
8686
disposition = request.args.get('disposition')
8787

8888
headers = {}

0 commit comments

Comments
 (0)