[Router] no need to correct ~ in the path encoding

The ~ is not encoded by rawurlencode, so we don't need to decode it again.