netsurf/content
John Mark Bell aa76fb1754 [project @ 2006-01-03 23:26:58 by jmb]
Detect and prevent self-referential redirects.
This is not a complete solution as it does not handle the likes of page1 -> page2 -> page1 -> ...
To solve that probably requires counting the number of redirects a given fetch has made and then bailing once it exceeds some fixed value. From what I can see at present, this will have to be done at the top-level (i.e. browser_window_callback and suchlike).

svn path=/import/netsurf/; revision=1978
2006-01-03 23:26:58 +00:00
..
content_type.h [project @ 2005-12-10 14:31:32 by adrianl] 2005-12-10 14:31:33 +00:00
content.c [project @ 2005-12-11 21:54:30 by bursa] 2005-12-11 21:54:30 +00:00
content.h [project @ 2005-12-10 14:31:32 by adrianl] 2005-12-10 14:31:33 +00:00
fetch.c [project @ 2006-01-03 17:01:17 by jmb] 2006-01-03 17:01:17 +00:00
fetch.h [project @ 2005-12-19 21:54:51 by bursa] 2005-12-19 21:54:51 +00:00
fetchcache.c [project @ 2006-01-03 23:26:58 by jmb] 2006-01-03 23:26:58 +00:00
fetchcache.h [project @ 2005-08-21 12:04:17 by bursa] 2005-08-21 12:04:18 +00:00
url_store.c [project @ 2006-01-02 23:03:07 by rjw] 2006-01-02 23:03:07 +00:00
url_store.h [project @ 2006-01-02 13:18:32 by bursa] 2006-01-02 13:18:32 +00:00