summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-08-10 22:57:23 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-08-10 22:57:23 +0200
commita05220de2e69d4b6ef212d1f3556fa848b6e1508 (patch)
tree7383fb335d3db6290f46a81a3397b15c45bcdb70 /Bugzilla/Hook.pm
parentecc6dfbcde8351fa37d7f7ed09b875d4eadb5027 (diff)
downloadbugzilla-a05220de2e69d4b6ef212d1f3556fa848b6e1508.tar.gz
bugzilla-a05220de2e69d4b6ef212d1f3556fa848b6e1508.tar.xz
Bug 779088 - Allow extensions to whitelist PATH_INFO
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index 730170663..3b8b52805 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -1289,6 +1289,22 @@ your template.
=back
+=head2 path_info_whitelist
+
+By default, Bugzilla removes the Path-Info information from URLs before
+passing data to CGI scripts. If this information is needed for your
+customizations, you can enumerate the pages you want to whitelist here.
+
+Params:
+
+=over
+
+=item C<whitelist>
+
+An array of script names that will not have their Path-Info automatically
+removed.
+
+=back
=head2 post_bug_after_creation