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

Cannot stream a video with filenames longer than 80 characters #879

Open
Olivier-STI opened this issue Oct 3, 2023 · 1 comment
Open

Comments

@Olivier-STI
Copy link

Issue Description

Summary:
I'm encountering a 502 Bad Gateway error when attempting to stream a file with a filename longer than 80 characters using the meteor/files (ostrio) package.

Steps to Reproduce:

  1. Create a file with a filename longer than 80 characters.
  2. Attempt to stream this file using the meteor/files (ostrio) package.
  3. Observe the 502 Bad Gateway error.

Expected Behavior:
I expected the package to handle files with filenames longer than 80 characters without causing a 502 Bad Gateway error.

Actual Behavior:
The package throws a 502 Bad Gateway error when trying to stream files with filenames longer than 80 characters.

Environment Information

  • Meteor Version: Meteor: 2.8.0
  • Package Version: ostrio:cookies: 2.7.2 - ostrio:files: 2.0.1
  • Operating System: Ubuntu 22.04.3 LTS

Additional Information

I have noticed that this issue only occurs with filenames exceeding 80 characters. Shorter filenames work as expected.

@dr-dimitru
Copy link
Member

dr-dimitru commented Oct 3, 2023

@Olivier-STI thank you for the report. Please provide:

  1. Request and response HTTP headers
  2. Details on proxy-, file-, web-server
  3. Details regarding 3rd party services netlify, CloudFlare, CDNs, etc
  4. Any reason why you're not on the latest release? ostrio:files@2.1.0 and up had a lot of critical fixes including ones related to Content-Disposition

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