I created the method to decode the URL and check if given URL parameter have valid URL inside it so encode it and replace with decoded value. but when i am trying to do that the