RTO : password special characters that breaks the url used to connect to the cloud

Hello,

We are looking to the list of special characters that can break the url when we want to connect to the cloud.
We had the issue with on of our client with the following quote character ".
We are now encountering the issue with another client but we do not know what is the character that can cause this issue, in the password we have the following :

$
#

;
%

In the error log we have : [{"error":{"id":"82ecc32b-af0e-4149-a402-555954e5b9a1","code":"400","message":"Validation error","status":"Bad Request","errors":[{"key":"takeExclusiveSignOnControl","reason":"invalid URL escape \"%$G\""}]}}

So I guess the issue is % but not sure.

Can you help us and provide the full list of the special characters that breaks the url ?

Regards,
Henri

Best Answer

  • hgardon
    hgardon Explorer
    Answer ✓

    Hello,
    We found the issue on our side, the Unsafe Characters were not properly encoded.
    Thank you for your help,
    Best regards,


Answers

  • zoya faberov
    zoya faberov ✭✭✭✭✭

    Hello @hgardon ,

    I think all five characters on the list are either reserved or unsafe for use in URLs:

    HTML - URL Encoding

    The opposite is also true, please see https://stackoverflow.com/questions/695438/what-are-the-safe-characters-for-making-urls

    Hope this helps

  • Hello @hgardon

    How did you send the password to the HTTP request? My test password contains the "@, #","!", etc. but I can manage to send the password to the RDP Auth Service by cover it with a double-quote (" ") like the following example:

    python market_price_rdpgw_service_discovery.py --user machine-id --password "<The password with @, #, !, = , ...>" --clientid app_key

    java MarketPriceRdpGwServiceDiscovery --user machine-id --password "<The password with @, #, !, = , ...>" --clientid app_key