Fix bogus cache validation decision

svn path=/trunk/netsurf/; revision=13261
This commit is contained in:
John Mark Bell 2011-12-08 22:44:19 +00:00
parent 4e4cf305cb
commit c22038bed8
1 changed files with 1 additions and 1 deletions

View File

@ -1872,7 +1872,7 @@ void llcache_fetch_callback(const fetch_msg *msg, void *p)
*/
long http_code = fetch_http_code(object->fetch.fetch);
if ((http_code != 200 && http_code != 203) &&
if ((http_code != 200 && http_code != 203) ||
(object->has_query &&
(object->cache.max_age == INVALID_AGE &&
object->cache.expires == 0))) {