Advice seeking : relaxedQueryChars="[,]" OR relaxedQueryChars="[]"

Shall we be putting relaxedQueryChars="[,]" OR relaxedQueryChars="[]" in the conf/server.xml during installation.

In the installation document it says relaxedQueryChars="[]" but there were some discussions on this community which suggests relaxedQueryChars="[,]"

Reason for this post: We are getting an error like below and internet was suggesting relaxedQueryChars="[,]"

<6>java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986```

relaxedQueryChars=“[]” is correct

3 Likes