Is there a module that can make proper URL out of text?
Example: http://somesite.com/soemthing&somethingelse?name=John Smith
In other words, is there a module that can cleanup and make a proper url instead of using replace spaces with β%20β ?
I tried using encodeURL but the URL that it produces results like http%3A%2F%2Fsomesite.com%2Fsoemthing%26somethingelse%3Fname%3DJohn%20Smith
I cannot open the generated URL