]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1444008 - Fix sanity tests for unfiltered urlbase
authorDylan William Hardison <dylan@hardison.net>
Wed, 21 Mar 2018 13:30:20 +0000 (09:30 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 21 Mar 2018 13:30:20 +0000 (09:30 -0400)
extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
template/en/default/account/auth/login.html.tmpl

index fd72091dca8c41aa651c25b34d6392b18d0602d0..bea0d16d7a6d9820ada5a7f3a66a40a7df5a1e91 100644 (file)
@@ -27,7 +27,7 @@
     <td>&nbsp;</td>
     <th>Search</th>
     <td colspan="2">
-      <form action="[% urlbase %]user_profile">
+      <form action="[% urlbase FILTER html %]user_profile">
         [% INCLUDE global/userselect.html.tmpl
           id => "login"
           name => "login"
index c11a6afc14e9d33d0cf2d4f9e2fd60cc8a1d4d01..8cf5e85ef88c2234880bc8c9cb6d85c46947aba6 100644 (file)
@@ -42,7 +42,7 @@
 </p>
 
 <div id="login" class="login-form">
-  <form name="login" action="[% urlbase %][% target FILTER uri FILTER html %]" method="POST"
+  <form name="login" action="[% urlbase FILTER html %][% target FILTER uri FILTER html %]" method="POST"
         [%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]>
     <div class="field-login">
       <label for="Bugzilla_login">Email Address:</label>