X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=sidebyside;f=lib%2FNDWeb%2FController%2FRoot.pm;h=682448cee4365eb59f578c067dc7bfe665f81afd;hb=15e271f8e65bfc35d311f9b9cad581e3a1c70def;hp=7d5bf1ca2a32e5f422b51ce69824afe4fa572b6d;hpb=ff64efb53e6b0c64bf7f6f77470f402939c9333a;p=ndwebbie.git diff --git a/lib/NDWeb/Controller/Root.pm b/lib/NDWeb/Controller/Root.pm index 7d5bf1c..682448c 100644 --- a/lib/NDWeb/Controller/Root.pm +++ b/lib/NDWeb/Controller/Root.pm @@ -61,7 +61,7 @@ sub login : Local { ,$country,$c->sessionid,$remember); my $ref = $c->req->referer; - $ref =~ s/^http:/https:/; + $ref =~ s/^http:/https:/ unless $c->debug; $c->res->redirect($ref); return; }