Open GoogleCodeExporter opened 9 years ago
Can you provide a simple sample app (e.g. on github) that allows to reproduce
the issue?
Original comment by martin.grotzke
on 18 Jul 2013 at 11:17
[deleted comment]
I did a little more testing, and here's what I found. I created an extremely
basic login.jsp, with nothing but the essentials. Like below:
<form method="POST" action="j_security_check">
<table>
<tr>
<td colspan="2">Login to the Tomcat-Demo application:</td>
</tr>
<tr>
<td>Name:</td>
<td><input type="text" name="j_username" /></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="j_password"/ ></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Go" /></td>
</tr>
</table>
</form>
This worked as expected. Then I started to add back in some of the elements of
our original login.jsp, and found that it stopped working when we added back an
image that we had shown on the login screen, something like the following:
<img id='mylogoim' src='images/mylogo.png'/>
I know that "png" is part of the requestUriIgnorePattern we are using. When I
changed the image name to be mylogo.bmp (bmp is not part of the
requestUriIgnorePattern) and referenced that in the login.jsp, it worked as
expected. So it seems that items that match that condition cannot be in the
login.jsp. Is this is expected behavior?
Thanks.
Original comment by Groa...@gmail.com
on 19 Jul 2013 at 7:55
No, this is not expected, it's a bug. I'm currently on holidays, will look into
this when I'm back.
Original comment by martin.grotzke
on 20 Jul 2013 at 9:37
Original issue reported on code.google.com by
Groa...@gmail.com
on 18 Jul 2013 at 8:11