Commit 61f02487 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 243764: Remove the Path-Info information from the URL as it causes unexpected behaviors

r=dkl a=LpSolit
parent d196515a
......@@ -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' : '');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment