[Rt-commit] r12801 - in rt/branches/3.8-TESTING: lib/RT/Interface

alexmv at bestpractical.com alexmv at bestpractical.com
Mon Jun 2 13:15:31 EDT 2008


Author: alexmv
Date: Mon Jun  2 13:15:30 2008
New Revision: 12801

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm

Log:
 r32366 at kohr-ah:  chmrr | 2008-06-02 13:14:47 -0400
  * Warnings avoidance


Modified: rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Interface/Web.pm	Mon Jun  2 13:15:30 2008
@@ -189,7 +189,7 @@
         && $uri->host eq $server_uri->host
         && $uri->port eq $server_uri->port )
     {
-        if ( $ENV{'HTTPS'} eq 'on' ) {
+        if ( defined $ENV{HTTPS} and $ENV{'HTTPS'} eq 'on' ) {
             $uri->scheme('https');
         }
         else {


More information about the Rt-commit mailing list