diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-07-15 22:29:01 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-07-15 22:29:01 +0200 |
commit | cd2f1c38499004485e3a817e8835b2a0ed9266fd (patch) | |
tree | bf2da6db834ba19593dc9409e408b8eaa30549e0 /Bugzilla/CGI.pm | |
parent | fb6ef2f23aeda0ba93d97a7e0abd6a21c952fa4f (diff) | |
download | bugzilla-cd2f1c38499004485e3a817e8835b2a0ed9266fd.tar.gz bugzilla-cd2f1c38499004485e3a817e8835b2a0ed9266fd.tar.xz |
Bug 892601 - Port over upstream native REST patch (bug 866927) to bmo/4.2
r=glob
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 2feb0b098..55b6a999c 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -78,7 +78,7 @@ sub new { # the rendering of pages. my $script = basename($0); if ($self->path_info) { - my @whitelist; + my @whitelist = ("rest.cgi"); Bugzilla::Hook::process('path_info_whitelist', { whitelist => \@whitelist }); if (!grep($_ eq $script, @whitelist)) { print $self->redirect($self->url(-path => 0, -query => 1)); |