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; }