mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
Merge.
This commit is contained in:
@@ -498,7 +498,7 @@ class FileToolParameter( ToolParameter ):
|
||||
# Check that the file is in the right location
|
||||
local_filename = os.path.abspath( value['path'] )
|
||||
assert local_filename.startswith( upload_store ), \
|
||||
"Filename provided by nginx is not in correct directory"
|
||||
"Filename provided by nginx (%s) is not in correct directory (%s)" % (local_filename, upload_store)
|
||||
value = dict(
|
||||
filename=value["name"],
|
||||
local_filename=local_filename
|
||||
|
||||
Reference in New Issue
Block a user