* Avoid using '&' in URIs for resized images, to avoid client compatibility issues.

This commit is contained in:
Justin Maggard
2009-08-06 07:50:12 +00:00
parent e925174081
commit aba116a445
2 changed files with 4 additions and 4 deletions

View File

@@ -1321,7 +1321,7 @@ SendResp_resizedimg(struct upnphttp * h, char * object)
path = strdup(object);
if( strtok_r(path, "?", &saveptr) )
{
item = strtok_r(NULL, "&", &saveptr);
item = strtok_r(NULL, "&,", &saveptr);
}
while( item != NULL )
{
@@ -1347,7 +1347,7 @@ SendResp_resizedimg(struct upnphttp * h, char * object)
{
pixelshape = val;
}
item = strtok_r(NULL, "&", &saveptr);
item = strtok_r(NULL, "&,", &saveptr);
}
free(path);