in reply to Re: replace characters in link
in thread replace characters in link

does it need to escape the special character for the input in this case? Actually my input is dynamic.

Replies are listed 'Best First'.
Re^3: replace characters in link
by haukex (Archbishop) on Dec 11, 2018 at 16:01 UTC
    does it need to escape the special character for the input in this case? Actually my input is dynamic.

    That depends on what special character you mean? URI should be able to handle just about any supported URI you throw at it. Can you show some more examples of what you mean? In fact, my example code includes Test::More, and you can easily extend it with more test cases to see if it does what you want.

    Also, please be careful, you've reposted your question twice now. If you have the browser open to the submission page, don't reload it.