I don't know if I understand your problem correctly. Passing urls
as params shouldn't be a problem. Either call the script with
a POST request, or, if you really need to put an url inside
the url ;) be sure to escape the url passed as a param (using
URI::Escape for example). Be sure to escape the reserved characters like ?,&,; etc. - uri_escape() doesn't do that by default.