diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-03 23:26:58 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-03 23:26:58 +0000 |
commit | aa76fb175400f2a7791357fcdd83be49914c3892 (patch) | |
tree | f34e6495161a55bbd73a125b252041a5e827e4f4 /riscos/wimp.c | |
parent | ffb6153baaf57355171b5e715991fbde4bffdab0 (diff) | |
download | netsurf-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 'riscos/wimp.c')
0 files changed, 0 insertions, 0 deletions