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

Restrict proxy to media MIMEs, split routes #98

Open
1 of 3 tasks
DarkCat09 opened this issue Mar 5, 2024 · 0 comments
Open
1 of 3 tasks

Restrict proxy to media MIMEs, split routes #98

DarkCat09 opened this issue Mar 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DarkCat09
Copy link
Member

DarkCat09 commented Mar 5, 2024

For now, /proxy can pass any type of content without any checks. We don't want the users to download a 3 GB ISO through our txtdot servers.

  • Restrict proxying to images, video (and audio??) MIME types
  • Create separate API route /imgproxy, and then Add image compression #96
  • Leave /proxy for video and audio, or create a separate route
@DarkCat09 DarkCat09 added the enhancement New feature or request label Mar 5, 2024
@DarkCat09 DarkCat09 mentioned this issue Mar 5, 2024
4 tasks
@artegoser artegoser pinned this issue Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant