Fixes #5162. Not encoding URL in elgg_http_remove_url_query_element().