Simplify url encoding.