Share

WgetPRO

Tracker: Bugs

5 spaces in mms-urls must not be escaped - ID: 1796231
Last Update: Tracker Item Submitted ( nobody )

When requesting mms-urls like
"mms://bla.dada.com/name with blanks"
then this url is sent with the spaces escaped
(%20), but this doesnt work (no response from mms-server) changed this in
mms.c to the following ugly code:
{
char tmp[1000];
strcpy (tmp, msp->u->path);
url_unescape (tmp);
printf ("---path---'%s'---\n",tmp);
string_utf16 (&data[8], tmp, strlen(tmp));
memset (data, 0, 8);
err = mms_send_command (msp, 5, 0, 0, strlen(tmp) * 2 + 12, data);
}
(made url_escape public in url.c/url.h)

Then the download works as expected. Dont know the mms-specs, but maybe
mms-paths/urls may not be escaped in url-like manner?

Cheers Peter Bauer


Nobody/Anonymous ( nobody ) - 2007-09-17 14:09

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.