https://bz.apache.org/bugzilla/show_bug.cgi?id=60735

            Bug ID: 60735
           Summary: Multibytes characters in URL caused tomcat return HTTP
                    400 after upgraded 7.0.67 to 7.0.75
           Product: Tomcat 7
           Version: 7.0.75
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: lovet...@qq.com
  Target Milestone: ---

After upgraded tomcat from 7.0.67 to 7.0.75, if there're UTF8 encoded
characters in URL, tomcat will return "HTTP/1.1 400 Bad Request" now with or
without 'URIEncoding="UTF-8"' parameter in <Connector /> element. It works in
7.0.67.

Test:
        $ curl -v localhost:8080/汉字/测试.html
        *   Trying 127.0.0.1...
        * TCP_NODELAY set
        * Connected to localhost (127.0.0.1) port 8080 (#0)
        > GET /汉字/测试.html HTTP/1.1
        > Host: localhost:8080
        > User-Agent: curl/7.51.0
        > Accept: */*
        > 
        < HTTP/1.1 400 Bad Request
        < Server: Apache-Coyote/1.1
        < Transfer-Encoding: chunked
        < Date: Wed, 15 Feb 2017 09:27:53 GMT
        < Connection: close
        < 
        * Curl_http_done: called premature == 0
        * Closing connection 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to