Adam P. Goucher wrote:
Surely the rule should be: break before a ')' if and only if the number of '('s hitherto encountered in the URL is equal to the number of ')'s. That results in correct parsing even when you have a URL in parentheses (such as https://en.wikipedia.org/wiki/42_(number)).
[(Gack??))?].! Your statement would be true if there were "rules" in some formal sense, but insofar are there are rules, Wikipedia is wrong in having urls without percent-encoding the parens. That's how I read the RFC, anyway. Because people seem to enjoy having meaningful urls, the rules will always be bent, and people who write email clients will do their best to interpret things in ways that are probably right and cause minimal damage when wrong. Hilarie