allow SSLPROXY header again
This commit is contained in:
parent
b1660fe76b
commit
e8d1fa0056
1 changed files with 16 additions and 0 deletions
|
|
@ -144,6 +144,22 @@ 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue