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.
Commit
3ede3702a27f6c8d000739b6b2acc329e3825c9f
Parent
dbec64585aac08f…
1 file changed
+1
-1
+1
-1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -1226,7 +1226,7 @@ | ||
| 1226 | 1226 | ** |
| 1227 | 1227 | ** WEBPAGE: honeypot |
| 1228 | 1228 | */ |
| 1229 | 1229 | void honeypot_page(void){ |
| 1230 | 1230 | 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> | |
| 1232 | 1232 | } |
| 1233 | 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>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 |