1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

[cookies] dl=0 ok

This commit is contained in:
Witold Filipczyk 2023-09-24 10:27:29 +02:00
parent 773ac97e1b
commit 81b89946e6

View File

@ -8,6 +8,8 @@ is_path_prefix(char *cookiepath, char *requestpath)
{
int dl = strlen(cookiepath);
if (!dl) return 1;
if (memcmp(cookiepath, requestpath, dl)) return 0;
return (!memcmp(cookiepath, requestpath, dl)