meloncholy / vid-streamer

VidStreamer.js: A simple streamer for Flash and HTML5-style videos. Supports HTTP pseudostreaming and works with JW Player's bitrate switching.
http://meloncholy.com
384 stars 64 forks source link

Naming Issue 1 #6

Closed soulcyon closed 11 years ago

soulcyon commented 11 years ago

When trying to grab a file with a [space] in the name, the URL should properly come in when "%20" escape sequence. However vid-streamer throws a 404 because this sequence is not unescaped properly. I cannot use any files with a [space] in the filename.

meloncholy commented 11 years ago

Thanks for reporting this and sorry for the delay in fixing. I feel really silly for not testing this during dev...

Fix uses decodeURIComponent to change any encoded filenames back to what they should be.