Commit 550e990b authored by justdave%bugzilla.org's avatar justdave%bugzilla.org

Bug 364008: Work around 405 error on login from home page when using IIS 5.

Patch by Michael Kincaid <michael@luidia.com> r=justdave, a=justdave
parent f51570e3
......@@ -25,6 +25,9 @@
# then we are accessing the home page. %]
[% script_name = cgi.url(Relative => 1) %]
[% IF !script_name %]
[% script_name = "index.cgi" %]
[% END %]
[%# If SSL is in use, use 'sslbase', else use 'urlbase'. %]
[% IF Param("sslbase") != "" && Param("ssl") != "never" %]
......
......@@ -24,6 +24,10 @@
# target: string. URL to go to after login.
#%]
[% IF !target %]
[% target = "index.cgi" %]
[% END %]
[% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.tmpl
......
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