Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] print client shoud send file basename instead of the relative path #2885

Open
cubercsl opened this issue Dec 24, 2024 · 0 comments
Open
Assignees

Comments

@cubercsl
Copy link
Contributor

cubercsl commented Dec 24, 2024

Description of the problem

The printing API added in 68c297e should also validate the originalName.

Print client should send file basename instead of the relative path.

Previously, the originalName was taken from the upload form, but now the user is free to enter it, which may affect some printing backend.

Your environment

DOMJudge master

@Kevinjil Kevinjil self-assigned this Dec 24, 2024
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

No branches or pull requests

2 participants