-
1. Re: JBOSS 6.4.20 validates special characters like {}| and throws 400 bad request error
jewellgm Feb 11, 2019 3:13 PM (in response to shreymath9999)Can you post the script that you changed (eg, standalone.bat, or standalone.conf.bat), and how you modified standalone.xml? Also please post the actual error message you are receiving when you say that the server wasn't starting after you made the changes.
-
2. Re: JBOSS 6.4.20 validates special characters like {}| and throws 400 bad request error
jewellgm Feb 11, 2019 3:48 PM (in response to jewellgm)I looked at the source code for the HttpParser1 class in JBoss Web 7.5, which is what is documented to ship with JBoss EAP 6.42. The class has a static initializer that includes populating an array that indicates whether certain characters are acceptable in the URL. The array itself has a size of 128. In your system property, are you only specifying the characters listed above, or are you including some high ASCII characters as well? If you include anything higher than ASCII 127 ("delete"), you'll get an IndexOutOfBoundsException, which would prevent the class from loading.