If set non-ascii character in any uri (example <to uri="sql:select (non-ascii
character)">),
IndexOutOfBoundsException occurs at
---------------
Class:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/UnsafeUriCharactersEncoder.java?view=markup
[line 67] if (unsafeCharacters.get(bytes[i])) {
---------------


I think,

[line 65] byte[] bytes = s.getBytes("UTF8");
An byte object can have -128..127, but unsafeCharacters[0..256]

Thanks.

-- 
View this message in context: 
http://old.nabble.com/IndexOutOfBoundsException-occur-in-UnsafeUriCharactersEncoder.class-tp27919179p27919179.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to