Defect #155
SimplePie_Enclosure::get_link() incorrectly returns a url decoded string
| Status: | Unconfirmed | Start: | 2009-11-27 | |
| Priority: | Medium | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected Version: | 1.2 |
PHP Version: | 5.2.6 |
|
| mbstring enabled: | No |
iconv enabled: | No |
|
| cURL enabled: | No |
zlib enabled: | No |
|
Description
SimplePie_Enclosure::get_link() return a url decoded string which cause problems when there were non-ascii characters in the url.
SimplePie_Enclosure::get_link() should not call urldecode().
For example, the returned string would be incorrect if using utf8 encoding and the url was "http://someserver/coucou%E9.mp3"
note that SimplePie_Author::get_link() is correctly returning a non decoded string.