MockHttpServletRequest.addHeader and getHeader do not work with upper-case
header names
---------------------------------------------------------------------------------------
Key: STS-315
URL: http://mc4j.org/jira/browse/STS-315
Project: Stripes
Issue Type: Bug
Affects Versions: Release 1.4.2, Release 1.5
Reporter: Renaud Bruyeron
Assigned To: Tim Fennell
addHeader(name, value) calls toLowerCase() before saving the header in the Set,
but getHeader(name) does not check if the supplied parameter is lowercase or
not.
The patch supplied provides both the unittest and the fix.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development