Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix XSS on login page (OBB-1146814)
  • Loading branch information
sdennler committed Sep 4, 2022
1 parent 4beac37 commit 3296ebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/templates2/ocstyle/login.tpl
Expand Up @@ -2,6 +2,7 @@
* You can find the license in the docs directory
***************************************************************************}
{* OCSTYLE *}
<h1>login.tpl</h1>
<div class="content2-pagetitle">
<img src="resource2/{$opt.template.style}/images/misc/32x32-profile.png" style="margin-right: 10px;" width="32" height="32" alt="" />
{t}Login{/t}
Expand Down Expand Up @@ -41,7 +42,7 @@
<table class="table">
<tr>
<td>{t}Username:{/t}</td>
<td><input name="email" maxlength="80" type="text" value="{$username}" class="input200" /></td>
<td><input name="email" maxlength="80" type="text" value="{$username|escape}" class="input200" /></td>
</tr>
<tr>
<td>{t}Password:{/t}</td>
Expand Down

0 comments on commit 3296ebd

Please sign in to comment.