Mailing List Archive

[interchange] Prevent spider access to pw_reset page
commit af0a35d45469028ff2dc826baf9d9a64759f8abe
Author: Josh Lavin <digory@cpan.org>
Date: Mon Jan 16 13:30:48 2017 -0800

Prevent spider access to pw_reset page

dist/strap/pages/query/pw_reset.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/dist/strap/pages/query/pw_reset.html b/dist/strap/pages/query/pw_reset.html
index e3ea997..4b82b0f 100644
--- a/dist/strap/pages/query/pw_reset.html
+++ b/dist/strap/pages/query/pw_reset.html
@@ -1,6 +1,11 @@
[tmp page_title]Password Reset[/tmp]
[tmpn display_class]noleft[/tmpn]

+[if session spider]
+ [tag op=header]Status: 403 Forbidden to Spiders[/tag]
+ [goto]
+[/if]
+
@_TOP_@
<!-- BEGIN CONTENT -->


_______________________________________________
interchange-cvs mailing list
interchange-cvs@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs