Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock authored Jan 7, 2024
1 parent 297e145 commit 584652d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def config(url):
full_url = full_url
else:
full_url = unquote(full_url)
suffixes_to_remove = ["%2F", "/&", "&"]
suffixes_to_remove = ["%2F", "/", "/&", "&"]
for suffix in suffixes_to_remove:
if full_url.endswith(suffix):
full_url = full_url.rstrip(suffix)
Expand Down

0 comments on commit 584652d

Please sign in to comment.