In this answer I linked a URL that contains a
* char seems to be converted to
%2a. When I click this link, I get the following error:
HTTP Status 404 -
type Status report
description The requested resource (
/web/%2a/http://www.alexa.com/topsites) is not available.
Reloading doesn't help, but when I switch to the URL bar and press enter again (or when I re-type the
* in the URL), the page loads. So it seems to me that the
* should not be percent-encoded.
Also, the detection of the link doesn't work correctly, as you can see here:
(it recognizes only the part before the
* character as link)
* is a
reserved character (
sub-delims), according to RFC 3986:
URIs that differ in the replacement of a reserved character with its corresponding percent-encoded octet are not equivalent. Percent- encoding a reserved character, or decoding a percent-encoded octet that corresponds to a reserved character, will change how the URI is interpreted by most applications. Thus, characters in the reserved set are protected from normalization and are therefore safe to be used by scheme-specific and producer-specific algorithms for delimiting data subcomponents within a URI.