Ticket #576 (closed task: fixed)

Opened 7 years ago

Last modified 6 years ago

Streaming Error - Filename Sanitisation Issue - Transcode Star

Reported by: anna Owned by:
Priority: minor Milestone: 4.8
Component: Transcoding Severity:
Keywords: Cc:
Who will test this: And

Description (last modified by anna) (diff)

Rico reports getting a streaming error while trying to watch a video.

He says that he loads the page, then gets an error 200 stream not found. Then it takes ages to load, but eventually it loads as normal.

If you try downloading the ogv (or transcoded mp4 file manually), you'll get a file not found. Checking the urls, the one that plumi is trying to access is: while the one that the transcode daemon actually provides for the video, is:

Notice the extra %25s. This is because of the (pretty strange) filename that this video has. Most of these, plone and the daemon try to sanitise but it seems that this is a case that sanitisation doesn't work in the same way for both. It's a different issue, it has nothing to do with the site performance. We should open a new ticket with the specific video and try to solve this sanitisation issue for one of the next milestones.

The reason that if you click a few times the flowplayer the video plays, is that eventually after it times-out you may manage to make it fall-back and make it play the original video which is also an mp4.

A quick way to solve this would be to download the original file and re-upload it with a more compatible filename.

This seems like an edge-case, so am assigning to 4.2 for now.

NOTE: another proposed solution is to allow renaming of the video file itself through the web.


Change History

comment:1 Changed 7 years ago by anna

  • Description modified (diff)

From Andrew:

one quick thing on this - unfortunately people upload badly named files (with spaces) via ftp quite frequently. Because ftp delivered files are often quite large downloading/uploading them again on Indonesian bandwidth can be a little cumbersome.

One thing I'm wondering is does renaming the file through plone change the name of the file? This might be a short way around it. Or is there a doing that could be enabled through the web?

comment:2 Changed 7 years ago by anna

i wonder if we could put a text file in that ftp directory called....


also with an indonesian translation.... ?

comment:3 Changed 7 years ago by and

  • Milestone changed from 4.3 Beta (Re-Design of & Plumi) to 4.5 Beta Refactoring

Moving to refactor, unless this continues to be an immediate issue.

comment:4 Changed 7 years ago by and

Dimo/Mike? - with the TD refactoring do you expect this is something that will be solved?

comment:5 Changed 6 years ago by and

  • Status changed from new to closed
  • Resolution set to ready for testing

AFAIK this is no longer an issue, moved to ready for testing for anna to check.

comment:6 Changed 6 years ago by anna

  • Status changed from closed to reopened
  • Resolution ready for testing deleted

I uploaded a video via FTP with spaces in the filename, the transcoder picked it up.

comment:7 Changed 6 years ago by anna

  • Status changed from reopened to closed
  • Resolution set to fixed

Add a comment

Modify Ticket

as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.