Closed pullopen closed 2 years ago
Hello,
What is the name of the file they try to upload? What is the content of the request (I would need the body, not only the content type)? And what web browser do they use?
Hello,
What is the name of the file they try to upload? What is the content of the request (I would need the body, not only the content type)? And what web browser do they use?
The requested content:
-----------------------------215418371960412275752149661
Content-Disposition: form-data; name="captionfile"; filename="waspcn.srt"
Content-Type: srt
1
00:00:12,274 --> 00:00:13,280
Subtitles in Simplified Chinese
-----------------------------215418371960412275752149661--
Browser: Firefox 91.0.1 (64-bit)
OS: windows 10 1909
This srt
content type is really weird. Did they update OS mime types registry?
This
srt
content type is really weird. Did they update OS mime types registry?
Maybe it's because this user did not update windows. Thanks anyway:)
Describe the current behavior A user in my site reported that they could not upload subtitle, while I as the ruler can upload the exact same srt.
journalctl shows:
Seems it's related to #907 , so the seemingly "PUT" request in network tab was:
Also the user found this in network tab, which I could not reproduce.
Steps to reproduce:
Describe the expected behavior
Subtitles should be successfully uploaded.
Additional information
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug: Firefox
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
): journalctl