Re: Backup in Webconf is broken

Erich Titl <[email protected]> Fri, 30 Mar 2018 01:20:04 +0200
Newsgroups gmane.linux.leaf.devel
Message-ID <[email protected]>
Hi

Am 27.03.2018 um 05:12 schrieb Erich Titl:
> Hi Folks
> 
> Out of curiosity I tried the package backup link in webconf. Well, it is
> broken, possibly when the option to backup moddb was removed. The code
> is horribly convoluted anyway but used to run sometime in the past.
> Should we go back, take an old version and try better?

I did some more research on this issue. The culprit is firefox which
thinks it is redirected to another site as the URL is modified and just
warns the user that the request has been redirected.

The following code is triggering this

   [ "$FORM_cmd" = "Backup" ] && echo "Refresh: 2;
url=$SCRIPT_NAME?STAGE=1&SESSIONID=$SESSIONID"

Here we refresh the page with a modified URL and modern Browsers don't
like that.

cheers

ET

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot