Bad URL sends gargoyle into infinite loop

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
joequant
Posts: 16
Joined: Thu Mar 05, 2015 12:57 am

Bad URL sends gargoyle into infinite loop

Post 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.

Lantis
Moderator
Posts: 7152
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia
Contact:

Re: Bad URL sends gargoyle into infinite loop

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog

Post Reply