Skip to content

Commit

Permalink
Fix filename fallback in secure_path (indico#6612)
Browse files Browse the repository at this point in the history
  • Loading branch information
SegiNyn committed Nov 11, 2024
1 parent 995199e commit bb43ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indico/modules/users/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def build_filename(file):


def secure_path(path):
parts = (secure_filename(p, uuid4()) for p in Path(path).parts)
parts = (secure_filename(p, str(uuid4())) for p in Path(path).parts)
return Path(*parts)


Expand Down

0 comments on commit bb43ff9

Please sign in to comment.