Meteor-Files
Meteor-Files copied to clipboard
Cannot stream a video with filenames longer than 80 characters
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:
- Create a file with a filename longer than 80 characters.
- Attempt to stream this file using the
meteor/files(ostrio) package. - 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.
@Olivier-STI thank you for the report. Please provide:
- Request and response HTTP headers
- Details on proxy-, file-, web-server
- Details regarding 3rd party services netlify, CloudFlare, CDNs, etc
- Any reason why you're not on the latest release?
ostrio:[email protected]and up had a lot of critical fixes including ones related to Content-Disposition