Fix: Let util_url_escape() handle NULL parameter.
This let util_url_escape() handle NULL passed as parameter. In case the parameter is NULL it will also return NULL. This patch also does some cleanup of the code such as migration away from int and thus avoiding future failtures.
Showing with 15 additions and 11 deletions