mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-15 05:54:15 +03:00
![John Mark Bell](/assets/img/avatar_default.png)
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