From c24997917a5152b25ca16c73681b7ab577a9c22b Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Thu, 24 Jan 2008 14:09:46 +0000 Subject: [PATCH] Peter Hartley's fix for his own patch. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@298 119443c7-1b9e-41f8-b6fc-b9c35fce742c --- upnp/src/genlib/net/http/webserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upnp/src/genlib/net/http/webserver.c b/upnp/src/genlib/net/http/webserver.c index ee2feca..5ac80dd 100644 --- a/upnp/src/genlib/net/http/webserver.c +++ b/upnp/src/genlib/net/http/webserver.c @@ -745,7 +745,7 @@ isFileInVirtualDir( IN char *filePath ) return TRUE; } else { if( ( strncmp( pCurVirtualDir->dirName, filePath, webDirLen ) - == 0 ) && ( filePath[webDirLen] == '/' || filePath[webDirLen] == '\0' ) ) + == 0 ) && ( filePath[webDirLen] == '/' || filePath[webDirLen] == '\0' || filePath[webDirLen] == '?' ) ) return TRUE; }