summaryrefslogtreecommitdiff
path: root/!NCNetSurf
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-01-03 23:26:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-01-03 23:26:58 +0000
commitaa76fb175400f2a7791357fcdd83be49914c3892 (patch)
treef34e6495161a55bbd73a125b252041a5e827e4f4 /!NCNetSurf
parentffb6153baaf57355171b5e715991fbde4bffdab0 (diff)
downloadnetsurf-aa76fb175400f2a7791357fcdd83be49914c3892.tar.gz
netsurf-aa76fb175400f2a7791357fcdd83be49914c3892.tar.bz2
[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
Diffstat (limited to '!NCNetSurf')
0 files changed, 0 insertions, 0 deletions