- fix possible crash with http_redirect() and http_build_url() called without parameters