[Mapbender-dev] [Mapbender] #121: Login fails with https protocol

Mapbender info at osgeo.org
Tue Oct 16 10:45:56 EDT 2007


#121: Login fails with https protocol
-----------------------+----------------------------------------------------
 Reporter:  christoph  |       Owner:  mapbender_dev at lists.osgeo.org
     Type:  defect     |      Status:  new                          
 Priority:  major      |   Milestone:  2.5 release                  
Component:  core       |     Version:  2.4.3                        
 Keywords:             |  
-----------------------+----------------------------------------------------
 login.php redirects to

 header ("Location:
 http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/login.php?name=".$name);

 so http:// is hard wired. Maybe we should use an if condition

 if ($_SERVER["HTTPS"]) {
 ...
 }
 else {
 ...
 }

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/121>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list