Skip to content

Commit

Permalink
mf
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Dec 9, 2024
1 parent 4e21c03 commit 0532ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/src/tira_app/endpoints/v1/_anonymous.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def claim_submission(request: Request, vm_id: str, submission_uuid: str) -> Resp
uploaded_file = tmp_dir / format
with open(uploaded_file, "w") as f:

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
for l in lines_if_valid(result_dir, format):
f.write(l + "\n")
f.write(l.strip() + "\n")

status_code, message = check_format(tmp_dir, format)
if status_code != _fmt.OK:
Expand Down

0 comments on commit 0532ceb

Please sign in to comment.