fix for logging error with urls containing "%"