On 20/09/17 10:47, Konstantin Ryadov wrote:
> 
> Hello!
> Could you explain context path (e.g. described on  
> https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set in 
> server.xml limitations?
> Does it exist any context path validation (unescaped symbols, whitespaces and 
> so on)?
> Is first “/” always required in context path value? What is the difference 
> between value with first “/” and without?

A leading "/" is required unless it is the root context in which case
the path is "".

"/" and "/ROOT" are both always converted to "".


"/" and "#" are reserved since they have special meanings.

Other than that, anything goes. If you use characters that are not
permitted in a URL then you'll need to use %nn escaping when writing the
request URL. The OS may also limit the characters that can be used.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to