version 1.124, 2001/11/14 08:04:10
|
version 1.125, 2001/11/20 09:47:47
|
Line 1816 void SimplifyUrl (char **url)
|
Line 1816 void SimplifyUrl (char **url)
|
/* Doesn't need to do any more */ |
/* Doesn't need to do any more */ |
return; |
return; |
} |
} |
|
else if (**url != '/' && !IsW3Path(*url)) |
|
{ |
|
newptr = malloc (strlen(path)+7); |
|
*newptr = '\0'; |
|
strcat (newptr, "http://"); |
|
strcat (newptr, *url); |
|
**url = '\0'; |
|
strcpy(*url, newptr); |
|
free (newptr); |
|
return; |
|
} |
if ((p = path)) |
if ((p = path)) |
{ |
{ |
if (!((end = strchr (path, ';')) || (end = strchr (path, '?')) || |
if (!((end = strchr (path, ';')) || (end = strchr (path, '?')) || |