I use the faceted_search module on my site. You can search the site by using the facets of the search which creates an URL like this:
http://localhost/en/facetsearch/results/author:1
If the user then wants to login, the function drupal_get_destination is used and the URL of the login page looks like this:
http://localhost/en/login?destination=facetsearch%2Fresults%2Fauthor%3A1
That's all right. But then in drupal_goto, the destination URL gets decoded: facetsearch/results/author:1
and parsed: host: facetsearch, port: 1, path: /results/author:1
The path is used for the redirect and leads to a page not found error. If I have a faceted search parameter like city:"munich" there is no problem, the URL doesn't get split. It seams that parse_url declares the value of the parameter author as port. On php.net/parse_url site there is a note that this function doesn't work with relative URLs.
Can anyone tell me what I can do to make this work?