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

--- Comment #6 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Michael Osipov from comment #5)
> (In reply to LiuYan 刘研 from comment #4)
> > Yes, I know firefox and w3m will encode URL, wget do that too. So I will
> > move from curl to wget to get correct response.
> 
> Non-sense, curl does the right thing as long as your URL is valid. It does
> not validate the path of the URL.

+1

$ curl 'http://example.com/汉字/测试.html'

>From my httpd access log:

x.y.z.184 - - [15/Feb/2017:14:08:20 -0500] "GET
/\xe6\xb1\x89\xe5\xad\x97/\xe6\xb5\x8b\xe8\xaf\x95.html HTTP/1.1" 404 480 "-"
"curl/7.51.0"

curl behaves correctly.

Both Tomcat 8.0 and 8.5 reply with a 404 when I request /汉语/漢語.html within a
test web application's context URL space where no such file exists.

Something else must be wrong with the OP's environment.

-- 
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