Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Accept either "on" or "ON" as the value of the HTTPS environment variable. Ticket [e95f7c93370be8c86] |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2d92db7ebf4c3f7b8f7e1ccb58aed341 |
| User & Date: | drh 2011-05-09 12:57:49.030 |
Context
|
2011-05-11
| ||
| 21:43 | Add the --filevers option to the "annotate" command and the "filevers" query parameter to the "annotate" web method. This was used to help analyze the problem described by ticket [f91862eed367] check-in: c8f10e551e user: drh tags: trunk | |
|
2011-05-09
| ||
| 15:50 | Pull the latest trunk changes over into the windows-i18n branch. check-in: bbba160840 user: drh tags: windows-i18n | |
| 12:57 | Accept either "on" or "ON" as the value of the HTTPS environment variable. Ticket [e95f7c93370be8c86] check-in: 2d92db7ebf user: drh tags: trunk | |
| 12:55 | Use a combination of $HOMEDRIVE$HOMEPATH instead of just $HOMEPATH when searching for the home directory on windows. Ticket [44002a7760cf5406] check-in: 3715b5d245 user: drh tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
804 805 806 807 808 809 810 |
if( g.zBaseURL!=0 ) return;
zHost = PD("HTTP_HOST","");
zMode = PD("HTTPS","off");
zCur = PD("SCRIPT_NAME","/");
i = strlen(zCur);
while( i>0 && zCur[i-1]=='/' ) i--;
| | | 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 |
if( g.zBaseURL!=0 ) return;
zHost = PD("HTTP_HOST","");
zMode = PD("HTTPS","off");
zCur = PD("SCRIPT_NAME","/");
i = strlen(zCur);
while( i>0 && zCur[i-1]=='/' ) i--;
if( fossil_stricmp(zMode,"on")==0 ){
g.zBaseURL = mprintf("https://%s%.*s", zHost, i, zCur);
g.zTop = &g.zBaseURL[8+strlen(zHost)];
}else{
g.zBaseURL = mprintf("http://%s%.*s", zHost, i, zCur);
g.zTop = &g.zBaseURL[7+strlen(zHost)];
}
}
|
| ︙ | ︙ |