url_decode()
The function converts encoded URL into a to regular URL representation.
Detailed information about URL decoding and encoding can be found here.
Syntax
url_decode(
encoded url)
Arguments
- encoded url: encoded URL (string).
Returns
URL (string) in a regular representation.
Examples
print url_decode('https%3A%2F%2Fwww.ibm.com%2Fproducts%2Fcloud-pak-for-security%3Fmhsrc%3Dibmsearch_a%26mhq%3D')
print_0 |
---|
https://www.ibm.com/products/cloud-pak-for-security?mhsrc=ibmsearch_a&mhq= |