wininet: Strip trailing slashes from filename in CreateUrlCacheEntryW.

This commit is contained in:
Hans Leidekker 2009-01-20 14:49:17 +01:00 committed by Alexandre Julliard
parent fe3ba1295b
commit 34d4466342

View File

@ -2258,6 +2258,8 @@ BOOL WINAPI CreateUrlCacheEntryW(
if (!len)
return FALSE;
szFile[len] = '\0';
while(len && szFile[--len] == '/') szFile[len] = '\0';
/* FIXME: get rid of illegal characters like \, / and : */
}
else