Fix for server error caused by unicode substitution in url_for.