[phpldapadmin] [ phpldapadmin-Bugs-1999902 ] https detection broken on sun web server

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #1999902, was opened at 2008-06-22 19:54
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=1999902&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.1.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: River Tarnell (rtarnell)
Assigned to: Nobody/Anonymous (nobody)
Summary: https detection broken on sun web server

Initial Comment:
when logging into phpldapadmin 1.1.0.5 running under Sun Java System Web Server 7.0U2 with FastCGI PHP 5.2.6, https protocol detection doesn't work.  this means the warning about using an insecure connection is displayed on the login form even though the connection is secure.

this happens because SJS Web Server sets HTTPS to 'ON' (uppercase) instead of 'on'.  the fix is to check tolower($_SERVER['HTTPS']) instead of just $_SERVER['HTTPS'] in login_form.php.

----------------------------------------------------------------------

>Comment By: Deon George (wurley)
Date: 2008-11-28 22:50

Message:
Thanks for this - added to CVS (BRANCH-1_1_0)

htdocs/login_form.php 1.29.2.5

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=1999902&group_id=61828

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.