fix bug #71719 (Buffer overflow in HTTP url parsing functions)