Ticket #729 (closed bug: fixed)
Flash player will not load non-ASCII filenames
| Reported by: | cameron | Owned by: | pablo |
|---|---|---|---|
| Priority: | Milestone: | Flash 5.3 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: | http://www.longtailvideo.com/support/forum/Bug-Reports/22123/Flash-player-will-not-load-non-ASCII-filenames |
Description
Currently when the player attempts to load a video with a non-ASCII filename it fails to load the file printing the following message:
"Video not found or access denied:..."
Initial investigation shows that the browser correctly encodes the filename. However, when the player makes the request for the file the name is no longer encoded correctly. The player displays the filename correctly in the error message. So either Flash or the player do not properly encode the characters when making an http request.
Change History
comment:1 Changed 3 years ago by pablo
- Owner set to cameron
- Milestone changed from Flash 5.X to Flash 5.2
comment:2 Changed 3 years ago by pablo
- Status changed from new to closed
- Resolution set to fixed
Fixed in 981
comment:3 Changed 3 years ago by pablo
- Status changed from closed to reopened
- Resolution fixed deleted
- Milestone changed from Flash 5.2 to Flash 5.3
It appears as though the fix to this problem has broken other use cases:
We should back out the previous solution, which was to encode URI components in the player, and replace it with a requirement that the embed code should properly escape the URIs via javascript (encodeURI) or by hand.
comment:4 Changed 3 years ago by pablo
- Owner changed from cameron to pablo
- Status changed from reopened to new
comment:5 Changed 3 years ago by pablo
- Status changed from new to closed
- Resolution set to fixed
Fixed in 1270.
This update will require all non-ascii characters to be URL encoded before passing them into the player. For example, it was previously possible to set the "file" option to "/testing/files/παίχτης.flv". Now, this URI must be encoded as " http://pablotest.longtailvideo.com/testing/files/%CF%80%CE%B1%CE%B9%CC%81%CF%87%CF%84%CE%B7%CF%82.flv". The player will no longer automatically URL encode these values, as doing so can prevent properly encoded URLs (such as certain Amazon Private Content URLs) from loading properly.
