skip initial slashes

master
leitner 21 years ago
parent 15a54e002b
commit 3fe23979fd

@ -144,6 +144,7 @@ e400:
if (*d!=' ') goto e400;
*d=0;
if (c[0]!='/') goto e404;
while (c[1]=='/') ++c;
if (!io_readfile(&fd,c+1)) {
e404:
httperror(h,"404 Not Found","No such file or directory.");

Loading…
Cancel
Save