0

Is % character encoded to '%25' With URIEncoding="utf-8" setting on server.xml?

I have a file named abc%.wav on the server and try to access it with hyperlink, but the server response 404 not found.

I encoded the file name in the java class file, then it worked fine.

So I am curious whether % character is encoded with the setting above or not.

Thanks.

Book Of Zeus
  • 49,509
  • 18
  • 174
  • 171
  • Possible duplicate of [When to encode space to plus (+) or %20?](http://stackoverflow.com/questions/2678551/when-to-encode-space-to-plus-or-20) – jpaljasma Nov 12 '15 at 04:04
  • I'm assuming you have access to the server, so why don't you just change encoding and try it out? What happens if you access the file using abc%25.waw? – Mattias Lindberg Nov 12 '15 at 05:54

0 Answers0