[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)

From: Kevin Rodgers
Subject: Re: (no subject)
Date: Thu, 21 Dec 2006 11:43:55 -0700
User-agent: Thunderbird (Macintosh/20061207)

Werner LEMBERG wrote:
[CVS 2006-10-28]

I've just seen the following link in an email:


As you can probably can see immediately, thingatpt only colorizes (and
uses) the string up to `..._layout_', stopping at the opening

Is this intentional or is this a bug?

It is intentional, as parentheses are explicitly excluded from URLs by
thing-at-point-url-path-regexp.  It could be a bug, as parentheses are
defined as reserved characters in URIs, which are only sometimes percent-
encoded, depending on the context; but I think they are allowed within
both the path and query components of generic URIs (without being

So just as the slashes in the URI above should not need to be %-encoded
(since they follow the ?, they are clearly within the query component),
neither should the parentheses need to be %-encoded -- but perhaps they
ought to be.

Kevin Rodgers
Denver, Colorado, USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]