I am tring to escape some values in a path.
Let's say I'm trying to obtain https://www.google.com/https%3A%2F%2Fdomain
I've tried the following options :
Scenario: escape value
* url "https://www.google.com"
* path "https://domain"
When method get
* path "https://domain"
When method get
* path "https%3A%2F%2Fdomain"
When method get
* path "https\:\/\/domain"
When method get
But I obtain
https://www.google.com/https://domain
https://www.google.com/https://domain
https://www.google.com/https%253A%252F%252Fdomain
Why is
not working, while %2F
is being escaped into %252F
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…