Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Make sure set_base_url() is called prior to redirecting when a page is not found. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
78a48858ef690c0765d8da7609c9cc43 |
| User & Date: | drh 2012-03-05 19:24:02.912 |
Context
|
2012-03-05
| ||
| 19:47 | removed the 'w', 't', and 'ci' aliases from /json/timeline/ALIAS. They provide no real benefit (except arguably 'ci') and may hinder future expansion. ... (check-in: 48255fa981 user: stephan tags: trunk) | |
| 19:24 | Make sure set_base_url() is called prior to redirecting when a page is not found. ... (check-in: 78a48858ef user: drh tags: trunk) | |
|
2012-03-04
| ||
| 19:03 | Fixed 2 swapped error messages. Added /json/wiki/diff button to demo page. ... (check-in: 1578ba3441 user: stephan tags: trunk) | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 |
i++;
continue;
}
zRepo[j] = '.';
}
if( szFile<1024 ){
if( zNotFound ){
cgi_redirect(zNotFound);
}else{
#ifdef FOSSIL_ENABLE_JSON
if(g.json.isJsonMode){
json_err(FSL_JSON_E_RESOURCE_NOT_FOUND,NULL,1);
return;
| > | 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 |
i++;
continue;
}
zRepo[j] = '.';
}
if( szFile<1024 ){
set_base_url();
if( zNotFound ){
cgi_redirect(zNotFound);
}else{
#ifdef FOSSIL_ENABLE_JSON
if(g.json.isJsonMode){
json_err(FSL_JSON_E_RESOURCE_NOT_FOUND,NULL,1);
return;
|
| ︙ | ︙ |