最佳答案
在 JBoss 7.2 中,我必须编辑standalone.xml 并进行以下更改才能使其正常工作:
<http-listener name="default" socket-binding="http" allow-unescaped-characters-in-url="true" redirect-socket="https" enable-http2="true"/>
请注意,我添加了一个名为 allow-unescaped-characters-in-url="true" 的新属性。
-Dorg.wildfly.undertow.ALLOW_UNESCAPED_CHARACTERS_IN_URL=true 不起作用。
关于java - 野蝇13 : not able to use {} [] in query string of url,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51056504/