Share

PHP Client Sniffer

Tracker: Bugs

5 Cookie Detection Under SSL - ID: 2884474
Last Update: Tracker Item Submitted ( acrawford )

The redirect URL when detecting cookies in 2.1.4 is hard-coded to use http.
If you want to use SSL, it won't work. It drops out to the http equivalent
from a starting https URL. I inserted a detection before line 793 and
modified the old line 793 to use the result:

$protocol = getenv('HTTPS') == 'on' ? 'https':'http';
$location=$protocol.'://'.getenv('SERVER_NAME').$script_path.($QS==''?'':'?
'.$QS);

Any reason not to do this?


Andrew Crawford ( acrawford ) - 2009-10-23 05:51

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.