|
2011-05-09
| ||
| 12:57 | • Fixed ticket [e95f7c9337]: HTTPS CGI variable might be "ON", not "on". plus 1 other change artifact: b5db7b02fb user: drh | |
| 12:57 | Accept either "on" or "ON" as the value of the HTTPS environment variable. Ticket [e95f7c93370be8c86] check-in: 2d92db7ebf user: drh tags: trunk | |
|
2011-05-08
| ||
| 13:07 | • New ticket [e95f7c9337] HTTPS CGI variable might be "ON", not "on".. artifact: 85ac932aff user: anonymous | |
| 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. | |||