Skip to content

Commit

Permalink
remove duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Mar 15, 2024
1 parent a9b511e commit 6659547
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cdci_data_analysis/flask_app/dispatcher_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,9 +1069,6 @@ def download_products(self):

self.validate_job_id(request_parameters_from_scratch_dir=True)
file_list = self.args.get('file_list').split(',')
for fn in file_list:
if "../" in fn:
raise RequestNotAuthorized('No such file')

file_name = self.args.get('download_file_name')

Expand Down

0 comments on commit 6659547

Please sign in to comment.