diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-15 23:46:13 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-15 23:46:13 +0200 |
commit | ba0b995c4453d3642e19343fa98f1b4034114f39 (patch) | |
tree | 4591772b7175810ed33fb1267ff393b771b59dd7 /Bugzilla/Hook.pm | |
parent | 5bcba2b42c531a50c0017a262e879b0b42940b53 (diff) | |
download | bugzilla-ba0b995c4453d3642e19343fa98f1b4034114f39.tar.gz bugzilla-ba0b995c4453d3642e19343fa98f1b4034114f39.tar.xz |
Bug 779088 - Allow extensions to whitelist PATH_INFO
Diffstat (limited to 'Bugzilla/Hook.pm')
-rw-r--r-- | Bugzilla/Hook.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index c658989a0..27d70e7f5 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 |