Differences From Artifact [57230b021e]:
- File src/main.c — part of check-in [57152086b8] at 2012-02-16 01:03:37 on branch trunk — Always convert the result of getenv() into UTF8. (user: drh size: 54708) [more...]
To Artifact [fe26ac6b90]:
- File src/main.c — part of check-in [78a48858ef] at 2012-03-05 19:24:02 on branch trunk — Make sure set_base_url() is called prior to redirecting when a page is not found. (user: drh size: 54732)
| ︙ | |||
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 | 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;
|
| ︙ |