cyberark / conjur-api-java

Java client for the CyberArk Conjur API
Apache License 2.0
17 stars 14 forks source link

Properly encode spaces in URL #78

Closed orenbm closed 4 years ago

orenbm commented 4 years ago

The "encodeUriComponent" method encodes plus signs into %2B and spaces into '+'. However, our server decodes plus signs into plus signs in the retrieveSecret request so we need to replace the plus signs (which are spaces) into %20.