Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#121 closed defect (fixed)

Login fails with https protocol

Reported by: christoph Owned by: mapbender_dev@…
Priority: major Milestone: 2.5 release
Component: core Version: 2.4.3
Keywords: Cc:

Description

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 ($_SERVERHTTPS) { ... } else { ... }

Change History (3)

comment:1 by christoph, 17 years ago

Milestone: 2.5 release3.0 release

comment:2 by christoph, 16 years ago

Milestone: 3.0 release2.5 release
Resolution: fixed
Status: newclosed

Now we're checking if https is used via

if (isset($_SERVERHTTPS) && $_SERVERHTTPS == "on")

also applied it mod_logout.php

Fixed in 2.5 rc6

Note: See TracTickets for help on using tickets.