From 61f02487ccf1b9e4d5198b3aa1a54eccd34d3ef7 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 24 Jul 2012 16:11:33 +0200 Subject: Bug 243764: Remove the Path-Info information from the URL as it causes unexpected behaviors r=dkl a=LpSolit --- Bugzilla/CGI.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 67a2fbab3..b62d94c41 100644 --- a/Bugzilla/CGI.pm +++ b/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' : ''); -- cgit v1.2.3-24-g4f1b