[Pmwiki-users] Links containing brackets
Patrick R. Michaud
pmichaud
Fri Apr 2 12:28:58 CST 2004
On Fri, Apr 02, 2004 at 09:01:14PM +0200, Nils Knappmeier wrote:
> Nils Knappmeier wrote:
>
> >When you look on http://www.knappi.org/index.php/OpenM3U/Kaahvi
>
> Also on this site, there is a link to
> http://inercia.dcc.online.pt/scene.org/music/groups/kahvicollective/kahvi022_morningpapers-tellmecolours(blindintro7001).mp3
>
> This link contains brackets, but works well. Is there a specification
> that forbids this? From a intuitive point of view, I'd use
>
> /[^\s'"] +/ as a UrlPathPattern.
Parentheses are allowed in URLs, but PmWiki excludes them by default
because they aren't common and it's more likely that a parenthetical
item isn't meant to be part of a URL.
However, you can change the URLPathPattern to be more legal.
Note that the RFC specs (2396 and one other) indicates that the following
characters are not legal in URLs:
< > { } | \ ^ ` " <space>
PmWiki also doesn't include trailing puncutation ('?', '.', '!') as
part of a URL because it's often meant to be the end of a sentence
and not a URL component.
Pm
More information about the pmwiki-users
mailing list