You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "info@flyingfischer.ch" <in...@flyingfischer.ch> on 2018/05/10 15:21:35 UTC

relaxedPathChars / relaxedQueryChars XML

Thanks for the two new configurable options relaxedPathChars and
relaxedQueryChars.

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

However, since these two elements will be nested in server.xml, adding

"<>"

will result in an invalid XML and a failing reboot of tomcat.

The instructions quote: "Any other characters present in the value will
be ignored".

https://tomcat.apache.org/tomcat-8.5-doc/config/http.html

So, I am not sure if adding &lt; and &gt; actually do work?

Markus

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


Re: relaxedPathChars / relaxedQueryChars XML

Posted by Mark Thomas <ma...@apache.org>.
On 10/05/18 16:21, info@flyingfischer.ch wrote:
> Thanks for the two new configurable options relaxedPathChars and
> relaxedQueryChars.
> 
> https://bz.apache.org/bugzilla/show_bug.cgi?id=62273
> 
> However, since these two elements will be nested in server.xml, adding
> 
> "<>"
> 
> will result in an invalid XML and a failing reboot of tomcat.
> 
> The instructions quote: "Any other characters present in the value will
> be ignored".
> 
> https://tomcat.apache.org/tomcat-8.5-doc/config/http.html
> 
> So, I am not sure if adding &lt; and &gt; actually do work?

Yes they will.

Mark

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