Page 1 of 1

Bad URL sends gargoyle into infinite loop

Posted: Thu Apr 07, 2016 2:15 pm
by joequant
If you send a url like

192.168.1.1/cgi-bin/overview.sh

This will send gargoyle into an infinite loop. It appears that gargoyle uses the login.sh page as an error page which causes a redirect to the bad page. Gargoyle should be set up so that errors get directed to a special error page.

This is particularly a problem since if you upgrade to gargoyle from OpenWRT, the browser will cache pages, causing an infinite loop. This loop is fixed by clearing the browser cache, but the user has no way of knowing that and it appears to the user like a failed firmware flash.

Letting the user know that there may be this problem in the error page, and asking them to clear their browser cache will avoid a lot of confusion.

Re: Bad URL sends gargoyle into infinite loop

Posted: Thu Apr 07, 2016 5:18 pm
by Lantis
I don't think changing the location of the error page will solve it.
In my mind it will still continue to loop due to the caching of openwrt luci interface.