Ticket #861 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

HTTPS not set in CGI environment in SSL

Reported by: anonymous Owned by: jan
Priority: normal Milestone:
Component: core Version: 1.4.12
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: Blocking:

Description

The HTTPS variable in CGI/FastCGI mode is not set when the socket IS SSL enabled.

As a result, phpMyAdmin redirects me to http://foo.bar.com:443/phpMyAdmin/.... all the time.

Here are two pages that dump environment variables, the first being phpinfo(), the second is just a simple perl script.

https://council.csie.ntu.edu.tw/~wens/ https://council.csie.ntu.edu.tw/~wens/test.pl

This didn't happen in 1.4.11

Attachments

Change History

in reply to: ↑ description   Changed 23 months ago by jl@…

same problem here.

please fix it! pleease.

  Changed 18 months ago by darix

  • status changed from new to closed
  • resolution set to fixed

fixed

  Changed 18 months ago by anonymous

  • status changed from closed to reopened
  • resolution fixed deleted

patch is wrong.

Should be cgi_env_add, not fcgi_env_add.

Doesn't compile.

  Changed 18 months ago by darix

  • status changed from reopened to closed
  • resolution set to fixed

it was fixed 5 minutes after the first checkin. please run svn up

Add/Change #861 (HTTPS not set in CGI environment in SSL)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.