From 199e2240a750b227621b7bcf3bc406d8fed7e183 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Thu, 23 Jun 2011 17:46:16 -0500 Subject: [PATCH] Revert "allow SSLPROXY header again" This reverts commit e8d1fa0056a3c8f0498513f0a578740e7328f919. SSLPROXY should be handled by using Plack::Middleware::ReverseProxy and setting the X-Forwarded-Proto http header to "https" --- lib/WebGUI/Session/Request.pm | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/WebGUI/Session/Request.pm b/lib/WebGUI/Session/Request.pm index a8c3c498b..2f8defb70 100644 --- a/lib/WebGUI/Session/Request.pm +++ b/lib/WebGUI/Session/Request.pm @@ -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 {