src/server/daemon/httprequest.c

changeset 36
450d2d5f4735
parent 35
4417619a9bbd
child 37
360b9aabe17e
--- a/src/server/daemon/httprequest.c	Sat Aug 18 11:39:34 2012 +0200
+++ b/src/server/daemon/httprequest.c	Sat Oct 06 13:00:07 2012 +0200
@@ -451,7 +451,7 @@
         }
         /* if there is a trailing '/', remove it */
         if(docroot.ptr[docroot.length - 1] == '/') {
-            docroot.ptr[docroot.length - 1] = 0; // TODO: can I do this?
+            //docroot.ptr[docroot.length - 1] = 0; // TODO: can I do this? No!!
             docroot.length--;
         }
 

mercurial