[Rt-commit] [rtir] 01/01: Add RTIR search result page to CSRF whitelist
Jim Brandt
jbrandt at bestpractical.com
Mon Aug 19 14:23:51 EDT 2013
This is an automated email from the git hooks/post-receive script.
jbrandt pushed a commit to branch 3.0/whitelist-rtir-search-results
in repository rtir.
commit 97c3a7dbaf890dd228eddfd3bfe69399890b0d8a
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Mon Aug 19 14:22:13 2013 -0400
Add RTIR search result page to CSRF whitelist
---
etc/RTIR_Config.pm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/etc/RTIR_Config.pm b/etc/RTIR_Config.pm
index 634a76b..6f6324a 100644
--- a/etc/RTIR_Config.pm
+++ b/etc/RTIR_Config.pm
@@ -680,4 +680,13 @@ Read F<docs/AdministrationTutorial.pod>.
=cut
+# Add the RTIR search result page to the whitelist to allow
+# bookmarks to work without CSRF warnings, similar to the RT
+# search result page.
+
+{
+ require RT::Interface::Web;
+ $RT::Interface::Web::is_whitelisted_component{'/RTIR/Search/Results.html'} = 1;
+}
+
1;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Rt-commit
mailing list