[ 
https://issues.apache.org/jira/browse/HTTPCORE-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887765#action_12887765
 ] 

James Abley commented on HTTPCORE-229:
--------------------------------------

That Location header looks wrong to me? I think it should be an absolute URI, 
as per the RFCs; e.g.

Location: http://example.com/%D1%81%D0%BB%D0%BE%D0%B2%D0%BE/



> IOOBE in case of UTF-8 encoded http element(headers)
> ----------------------------------------------------
>
>                 Key: HTTPCORE-229
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-229
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>         Environment: Ubuntu 10.4. java 6
>            Reporter: Igor Mikhailuk
>
> When there is the line in the http response header like this:
> Location: /слово/
> encoded in UTF-8 AbstractSessionInputBuffer#readLine(final CharArrayBuffer 
> charbuffer) return 22(bytes count in this line).
> But I beleve it should return 17 (actual chars count).
> So. When we are trying to handle such server responce we got IOOBE in 
> LoggingSessionInputBuffer#readLine(final CharArrayBuffer buffer).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to