Revert "allow SSLPROXY header again"

This reverts commit e8d1fa0056.

SSLPROXY should be handled by using Plack::Middleware::ReverseProxy and
setting the X-Forwarded-Proto http header to "https"
This commit is contained in:
Doug Bell 2011-06-23 17:46:16 -05:00
parent e8d1fa0056
commit 199e2240a7

View file

@ -144,22 +144,6 @@ sub requestNotViewed {
}
#-------------------------------------------------------------------
=head2 secure ( )
Returns true if this is a secure connection. The connection is secure if it's
https or if SSLPROXY is true
=cut
sub secure {
my ( $self ) = @_;
if ( $self->header('SSLPROXY') ) {
return 1;
}
return $self->SUPER::secure;
}
# This is only temporary
sub TRACE {