mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Set address_modified flag when we add a trailing slash (indicating a directory name) and get a cache hit. This flag is later used to sync with the nsIURL wrapper. Approved by chofmann. Reviewed by gagan.
This commit is contained in:
parent
c3ba5da777
commit
fc26ffdea8
4
network/cache/mkcache.c
vendored
4
network/cache/mkcache.c
vendored
@ -2796,6 +2796,10 @@ NET_FindURLInCache(URL_Struct * URL_s, MWContext *ctxt)
|
||||
*/
|
||||
URL_s->address[PL_strlen(URL_s->address)-1] = '\0';
|
||||
}
|
||||
else
|
||||
{
|
||||
URL_s->address_modified = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user