#121 closed defect (fixed)
Login fails with https protocol
Reported by: | christoph | Owned by: | |
---|---|---|---|
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 , 17 years ago
Milestone: | 2.5 release → 3.0 release |
---|
comment:2 by , 16 years ago
Milestone: | 3.0 release → 2.5 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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