Make url decoding more bulletproof