This file documents the revision history for Perl extension Catalyst.
+5.21 2005-00-00 00:00:00
+ - fixed a bug in https detection
+
5.20 2005-05-18 19:52:00
- improved uploads and parameters
- added $c->req->protocol and $c->req->secure
$c->request->protocol( $c->apache->protocol );
$c->request->user( $c->apache->user );
- if ( $ENV{HTTPS} || $c->apache->get_server_port == 443 ) {
+ if ( $ENV{HTTPS} && uc( $ENV{HTTPS} ) eq 'ON' ) {
+ $c->request->secure(1);
+ }
+
+ if ( $c->apache->get_server_port == 443 ) {
$c->request->secure(1);
}
}
$c->request->protocol( $ENV{SERVER_PROTOCOL} );
$c->request->user( $ENV{REMOTE_USER} );
- if ( $ENV{HTTPS} || $ENV{SERVER_PORT} == 443 ) {
+ if ( $ENV{HTTPS} && uc( $ENV{HTTPS} ) eq 'ON' ) {
+ $c->request->secure(1);
+ }
+
+ if ( $ENV{SERVER_PORT} == 443 ) {
$c->request->secure(1);
}
}