+2004-03-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * url.c (url_parse): Decode %HH sequences in host name.
+
2004-03-04 Hrvoje Niksic <hniksic@xemacs.org>
* convert.c (local_quote_string): Quote "#" as "%23" and "%" as
host_modified = lowercase_str (u->host);
+ /* Decode %HH sequences in host name. This is important not so much
+ to support %HH sequences, but to support binary characters (which
+ will have been converted to %HH by reencode_escapes). */
+ if (strchr (u->host, '%'))
+ {
+ url_unescape (u->host);
+ host_modified = 1;
+ }
+
if (params_b)
u->params = strdupdelim (params_b, params_e);
if (query_b)