Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Do a better response in the redirector if no matching artifact is found. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
dbc2098a6a089d02975f7c814cf5eaf1 |
| User & Date: | drh 2011-03-23 15:13:39.679 |
Context
|
2011-03-23
| ||
| 16:16 | Always put [..] marks around SHA1 hyperlinks. For unknown SHA1 numbers, enclose in <span class="brokenlink">. ... (check-in: a99e9c9164 user: drh tags: trunk) | |
| 15:13 | Do a better response in the redirector if no matching artifact is found. ... (check-in: dbc2098a6a user: drh tags: trunk) | |
| 13:30 | Add the "redirect:" option to CGI, to scan multiple repositories and redirect to the one that contains the requested artifact ID. ... (check-in: ef6e364866 user: drh tags: trunk) | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
1138 1139 1140 1141 1142 1143 1144 |
}
db_close(1);
}
}
if( zNotFound ){
cgi_redirectf(zNotFound, zName);
}else{
| | | > | < > | | 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 |
}
db_close(1);
}
}
if( zNotFound ){
cgi_redirectf(zNotFound, zName);
}else{
@ <html>
@ <head><title>No Such Object</title></head>
@ <body>
@ <p>No such object: <b>%h(zName)</b></p>
@ </body>
cgi_reply();
}
}
/*
** If g.argv[2] exists then it is either the name of a repository
** that will be used by a server, or else it is a directory that
** contains multiple repositories that can be served. If g.argv[2]
|
| ︙ | ︙ |