tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50695] New: Needed additional information when java.io.CharConversionException is thrown.
Date Tue, 01 Feb 2011 01:56:50 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50695

           Summary: Needed additional information when
                    java.io.CharConversionException is thrown.
           Product: Tomcat 6
           Version: 6.0.30
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knight@nhn.com


Hello. ^^

Could you give additional information about HOST field when
java.io.CharConversionException is thrown.

As maintaining, I met the exception but I dont know why occured.

I need that what character in HOST field is transfered from client. 

So, I hope to add a code in org.apache.jk.commo.HandlerRequest.java below. 

<680 line in org.apache.jk.commo.HandlerRequest.java>

in present :
throw new CharConversionException("Invalid char in port: " + valueB[i +
valueS]); 

to be :
throw new CharConversionException("Invalid char in port: " + valueB[i + valueS]
+ ", invalid string is " + new String(valueB)); 

Thank you advanced.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message