[Catalyst] Catalyst Redirect to https
Octavian Rasnita
orasnita at gmail.com
Thu Mar 25 12:12:43 GMT 2010
Hi,
In a catalyst action accessed using https I do:
if ($c->authenticate({username =3D> $username, password =3D> $password, act=
ive =3D> 1})) {
$c->res->redirect($c->uri_for_action("/index"));
}
It redirects to / URI of the site, but using http, not https as in the requ=
est for the current page.
Isn't $c->uri_for_action() able to see that the current URI uses https and =
continue to use it or this revert to http is intentional?
Thanks.
--
Octavian
__________ Information from ESET NOD32 Antivirus, version of virus signatur=
e database 4973 (20100325) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100325/60703=
a16/attachment.htm
More information about the Catalyst
mailing list