For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
21 7 8 15

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

websocketsrrtorefinitiv-realtime-optimisedurl
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
21 7 8 15

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


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
31.7k 37 11 19

Hello @Henri.GARDON ,

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
16.8k 31 9 12

Hello @Henri.GARDON

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
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.