ES|QL URL_DECODE function
string-
The URL-encoded string to decode.
URL-decodes the input, or returns null and adds a warning header to the response if the input cannot be decoded.
| string | result |
|---|---|
| keyword | keyword |
| text | keyword |
ROW u = "https%3A%2F%2Fexample.com%2F%3Fx%3Dfoo%20bar%26y%3Dbaz"
| EVAL u = URL_DECODE(u)
| u:keyword |
|---|
| https://example.com/?x=foo bar&y=baz |