View Issue Details

IDProjectCategoryView StatusLast Update
0015521phplist applicationInterface - Administratorpublic29-04-11 17:46
Reporterflowboarder 
PrioritylowSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformApache 2.2.15OSLinuxOS Version
Product Version2.10.12 
Target Version2.10.XFixed in Version2.10.14 
Summary0015521: https breaks when trying to send a message
DescriptionWhen using https / SSL to access the admin area, the https URL is automatically forwarded to the http version if a message should be sent.
Steps To Reproduce1.) Login at https://www.yourdomain.com/phplist/admin/

-> the admin home page is displayed

2.) click on https://www.yourdomain.com/phplist/admin/?page=send to send a message

-> you are automatically forwarded to the HTTP version

http://www.yourdomain.com/phplist/admin/?page=send&id=50

HTTPS breaks at this point.

In other areas https does not break and is fine:
?page=users
?page=community
?page=messages
?page=processqueue
TagsNo tags attached.

Relationships

related to 0005927 resolvedmichiel https not natively supported 

Activities

h2b2

22-08-10 15:53

manager   ~0051071

Did you change this line in admin/init.php ?
$GLOBALS['scheme'] = 'http';

to:
$GLOBALS['scheme'] = 'https';

h2b2

10-09-10 21:17

manager   ~0051085

Last edited: 10-09-10 21:27

View 2 revisions

ScottGeiger suggests using the following code to detect https as an alternative to the above:

===== Start quote =====

$GLOBALS['scheme'] = (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on')) ? 'https' : 'http';

This will dynamically set the scheme.
===== End quote =====
ref: http://forums.phplist.com/viewtopic.php?p=78985#p78985

Issue assumed resolved. Changing to a feature request instead.

michiel

29-04-11 17:46

manager   ~0051214

presumably that'll only work in apache, but I see no harm in adding it

http://phplist.svn.sourceforge.net/phplist/?rev=2677&view=rev