Skip to content

fix not being able to download file only submissions on nginx server#85

Merged
ngtlowk merged 1 commit into
CHT-OJ:masterfrom
ThisIsNotNam:master
May 18, 2026
Merged

fix not being able to download file only submissions on nginx server#85
ngtlowk merged 1 commit into
CHT-OJ:masterfrom
ThisIsNotNam:master

Conversation

@ThisIsNotNam

Copy link
Copy Markdown
Collaborator

1 line fix:
if not url_path.startswith('/'):
url_path = '/' + url_path

@ngtlowk
ngtlowk merged commit 2f09e8d into CHT-OJ:master May 18, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants