The expected behavior (for me) is that secure() returns true if the
connection is secured via SSL.

Looking at Engine::CGI, it appears that it only returns true if $ENV{HTTPS}
eq 'ON'  or if you're on Port 443.

Furthermore, if secure fails because you're on a non-standard port and HTTPS
is not set, then base returns the wrong base (http instead of https).

I am just really confused or is this desired behavior?
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to