Fossil SCM

HTTPS CGI variable might be "ON", not "on".

Fixed

e95f7c93370be8c… · opened 14 years, 11 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
May 8, 2011 1:07 p.m.

The Jetty web server sets the CGI HTTPS environment variable to 'ON', not 'on' like other web servers. This breaks redirects as fossil gets the base URL wrong.

Changing line 811 of main.c to

if( strcmp(zMode,"on")==0 || strcmp(zMode,"ON")==0 ){

solves the problem.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button