summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/auth/login-small.html.tmpl
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2007-05-22 01:19:22 +0200
committerjustdave%bugzilla.org <>2007-05-22 01:19:22 +0200
commit550e990b5f6daa20d39faa911e989b7fc198d269 (patch)
tree70889f5daf1c7764ecaad4be017245ce1711434c /template/en/default/account/auth/login-small.html.tmpl
parentf51570e3f8605c2f1ffc927cf6263adc1f560e81 (diff)
downloadbugzilla-550e990b5f6daa20d39faa911e989b7fc198d269.tar.gz
bugzilla-550e990b5f6daa20d39faa911e989b7fc198d269.tar.xz
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
Diffstat (limited to 'template/en/default/account/auth/login-small.html.tmpl')
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl
index 0ea4df3e9..bb0f7a4db 100644
--- a/template/en/default/account/auth/login-small.html.tmpl
+++ b/template/en/default/account/auth/login-small.html.tmpl
@@ -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" %]