# HG changeset patch # User yaz # Date 1170124559 28800 # Node ID 8182837f7a82998d715c2c9b0fe79d4c7ca28a73 # Parent ca3de84e22883c4281330f9f126e562043f439dd [svn] - don't percent encode urls beginning with http:// or https:// for now. diff -r ca3de84e2288 -r 8182837f7a82 ChangeLog --- a/ChangeLog Mon Jan 29 17:47:57 2007 -0800 +++ b/ChangeLog Mon Jan 29 18:35:59 2007 -0800 @@ -1,3 +1,11 @@ +2007-01-30 01:47:57 +0000 Yoshiki Yazawa + revision [1238] + - build fix. adjust prototypes to new input API. + + trunk/src/flac113/plugin.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + + 2007-01-29 17:14:19 +0000 Giacomo Lozito revision [1236] - aosd: added missing header in Makefile diff -r ca3de84e2288 -r 8182837f7a82 src/xspf/xspf.c --- a/src/xspf/xspf.c Mon Jan 29 17:47:57 2007 -0800 +++ b/src/xspf/xspf.c Mon Jan 29 18:35:59 2007 -0800 @@ -247,8 +247,14 @@ track = xmlNewNode(NULL, "track"); location = xmlNewNode(NULL, "location"); - /* url encode file name */ - filename = (gchar *)xspf_url_encode(entry->filename); + /* url encode file name. exclude streaming for now. */ + if (strncasecmp("http://", entry->filename, 7) && + strncasecmp("https://", entry->filename, 8)) { + filename = (gchar *)xspf_url_encode(entry->filename); + } + else { + filename = strdup(entry->filename); + } if(!g_utf8_validate(filename, -1, NULL)) continue;