dont include '/' (slash) in remaining part of url

This commit is contained in:
Andreas Öman 2007-11-04 12:56:50 +00:00
parent aaf2b3939e
commit 74e1c687e1

3
http.c
View file

@ -87,6 +87,9 @@ http_resolve(http_connection_t *hc, char **remainp)
if(*v != 0 && *v != '/')
return NULL;
if(*v == '/')
v++;
*remainp = v;
return hp;
}