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
This commit is contained in:
Marcelo Roberto Jimenez 2008-01-24 14:09:46 +00:00
parent 332064ce09
commit c24997917a

View File

@ -745,7 +745,7 @@ isFileInVirtualDir( IN char *filePath )
return TRUE; return TRUE;
} else { } else {
if( ( strncmp( pCurVirtualDir->dirName, filePath, webDirLen ) if( ( strncmp( pCurVirtualDir->dirName, filePath, webDirLen )
== 0 ) && ( filePath[webDirLen] == '/' || filePath[webDirLen] == '\0' ) ) == 0 ) && ( filePath[webDirLen] == '/' || filePath[webDirLen] == '\0' || filePath[webDirLen] == '?' ) )
return TRUE; return TRUE;
} }