Bug 243764: Remove the Path-Info information from the URL as it causes unexpected behaviors
r=dkl a=LpSolit git-svn-id: svn://10.0.0.236/trunk@264057 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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' : '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user