Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Bug #7936 pager seems not to work with SSL
Submitted: 2006-06-19 10:19 UTC
From: msilvoso at internet dot lu Assigned: quipo
Status: Closed Package: Pager (version 2.4.2)
PHP Version: Irrelevant OS: irrevelant
Roadmaps: (Not assigned)    
Subscription  


 [2006-06-19 10:19 UTC] msilvoso at internet dot lu (Manuel Silvoso)
Description: ------------ The pager doesn't seem to work with SSL. Instead of https links it keeps making http link. http is hardcoded in the file common.php Test script: --------------- Part that is buggy beginning of common.php: define('CURRENT_PATHNAME', 'http://'.$_SERVER['HTTP_HOST'].str_replace('\\', '/', $_SERVER['PHP_SELF'])); } else {... I changed it by if ($_SERVER['HTTPS']) { $http="https"; } else { $http="http"; } define('CURRENT_FILENAME', ''); define('CURRENT_PATHNAME', $http.'://'.$_SERVER['HTTP_HOST'].str_replace('\\', '/', $_SERVER['PHP_SELF']));

Comments

 [2006-06-19 10:40 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!