Ticket UUID: | e95f7c93370be8c868958b48c8c4bf94ef9d0f46 | ||
Title: | HTTPS CGI variable might be "ON", not "on". | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2011-05-09 12:57:59 | ||
Version Found In: | 047e06193b | ||
Description & Comments: | |||
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. |