]> source.dussan.org Git - sonarqube.git/commit
SONAR-8545 Fix encoding of POST request parameters in ws-client
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 5 Jan 2017 20:08:55 +0000 (21:08 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 6 Jan 2017 13:06:36 +0000 (14:06 +0100)
commit07849e84ffeccbb12a37a76e52c4d6c16a5c1fd2
tree5b00b89552459d52ad66bd70019a61d17902f594
parent381a4374fbf51443a5c88308775852696755520f
SONAR-8545 Fix encoding of POST request parameters in ws-client

Upgrade to Tomcat 8.5.9 breaks the POST requests sent
by ws-client when a query parameter contains invalid
characters like {, } or ". This is the case of
api/settings/set on property sets (see param field_values
which is a json object).
See
https://github.com/apache/tomcat80/commit/779d5d34e68e50d2f721897050b147106992f566
sonar-ws/src/main/java/org/sonarqube/ws/client/HttpConnector.java
sonar-ws/src/test/java/org/sonarqube/ws/client/HttpConnectorTest.java