mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Replace spaces with newlines in multi url upload requests
This commit is contained in:
@@ -323,7 +323,7 @@ class UploadDataset(Group):
|
||||
return looks_like_url
|
||||
|
||||
if start_of_url(url_paste):
|
||||
url_paste = url_paste.replace('\r', '').split('\n')
|
||||
url_paste = url_paste.replace('\r', '').replace(' ', '\n').split('\n')
|
||||
for line in url_paste:
|
||||
line = line.strip()
|
||||
if line:
|
||||
|
||||
Reference in New Issue
Block a user