Remove regex functions from webserver, instead preferring path from root - fixes problems with bad regex in uclibc

This commit is contained in:
Ron Pedde
2007-04-15 23:27:16 +00:00
parent 096975abfe
commit 29478fcca1
2 changed files with 7 additions and 17 deletions

View File

@@ -534,7 +534,7 @@ int main(int argc, char *argv[]) {
DPRINTF(E_FATAL,L_MAIN|L_WS,"Error staring web server: %s\n",strerror(errno));
}
ws_registerhandler(config.server, "^.*$",main_handler,main_auth,1);
ws_registerhandler(config.server, "/",main_handler,main_auth,1);
#ifndef WITHOUT_MDNS
if(config.use_mdns) { /* register services */