From 74e1c687e1f88ac512cd4289b6c62c597d6315b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 4 Nov 2007 12:56:50 +0000 Subject: [PATCH] dont include '/' (slash) in remaining part of url --- http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/http.c b/http.c index f8f2eb9c..76174752 100644 --- a/http.c +++ b/http.c @@ -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; }