diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 1415d0dc190..8097efbab8b 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8296 \ No newline at end of file +8297 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/CGI.pm b/mozilla/webtools/bugzilla/Bugzilla/CGI.pm index 67a2fbab39a..b62d94c4179 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/CGI.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/CGI.pm @@ -57,6 +57,11 @@ sub new { # Make sure our outgoing cookie list is empty on each invocation $self->{Bugzilla_cookie_list} = []; + # Path-Info is of no use for Bugzilla and interacts badly with IIS. + # Moreover, it causes unexepected behaviors, such as totally breaking + # the rendering of pages. Skip it! + print $self->redirect($self->url(-path => 0, -query => 1)) if $self->path_info; + # Send appropriate charset $self->charset(Bugzilla->params->{'utf8'} ? 'UTF-8' : '');