Fossil SCM

Change the anti-spider error message to be more welcoming to human users who happen to be using a browser without javascript support.

drh 2013-10-28 14:01 trunk
Commit 3ede3702a27f6c8d000739b6b2acc329e3825c9f
1 file changed +1 -1
+1 -1
--- src/style.c
+++ src/style.c
@@ -1226,7 +1226,7 @@
12261226
**
12271227
** WEBPAGE: honeypot
12281228
*/
12291229
void honeypot_page(void){
12301230
cgi_set_status(403, "Forbidden");
1231
- @ <p>Access by spiders and robots is forbidden</p>
1231
+ @ <p>Please enable javascript or log in to see this content</p>
12321232
}
12331233
--- src/style.c
+++ src/style.c
@@ -1226,7 +1226,7 @@
1226 **
1227 ** WEBPAGE: honeypot
1228 */
1229 void honeypot_page(void){
1230 cgi_set_status(403, "Forbidden");
1231 @ <p>Access by spiders and robots is forbidden</p>
1232 }
1233
--- src/style.c
+++ src/style.c
@@ -1226,7 +1226,7 @@
1226 **
1227 ** WEBPAGE: honeypot
1228 */
1229 void honeypot_page(void){
1230 cgi_set_status(403, "Forbidden");
1231 @ <p>Please enable javascript or log in to see this content</p>
1232 }
1233

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button