Project

General

Profile

Bug #861

HTTPS not set in CGI environment in SSL

Added by Anonymous almost 14 years ago. Updated over 13 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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

#1

Updated by Anonymous almost 14 years ago

same problem here.

please fix it! pleease.

-- jl

#2

Updated by darix over 13 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed

#3

Updated by Anonymous over 13 years ago

  • Status changed from Fixed to Need Feedback
  • Resolution deleted (fixed)

patch is wrong.

Should be cgi_env_add, not fcgi_env_add.

Doesn't compile.

#4

Updated by darix over 13 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to fixed

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

Also available in: Atom