[ http://mc4j.org/jira/browse/STS-315?page=all ]

Ben Gunter updated STS-315:
---------------------------

    Fix Version/s: Release 1.4.3
      Description: 
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.

  was:

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.


> 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.5, Release 1.4.2
>            Reporter: Renaud Bruyeron
>         Assigned To: Ben Gunter
>             Fix For: Release 1.4.3
>
>         Attachments: patch.txt
>
>
> 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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to