[Pmwiki-users] funky URL doesn't appear correctly

Patrick R. Michaud pmichaud
Thu Jul 22 20:43:50 CDT 2004


On Thu, Jul 22, 2004 at 06:49:56PM -0400, Kass Lloyd wrote:
> On Thu, 22 Jul 2004 17:01:48 -0500, Matt Vance <mvance at pobox.com> wrote:
> > I noticed that the following URL doesn't appear correctly when pasted
> > into pmwiki:
> > http://www.frommers.com/cgi-bin/WebX?14@108.eRZFahrG0sw^0@.ee6b310
> > I tried it both on my own wiki and at pmwiki.org.  The end of the URL
> > gets cut off at the caret.  
> 
> If you read RFC 1738 that defines URL syntax you learn that the '^'
> symbol is unsafe to use in urls and should always be encoded. I'm
> going to make a safe bet that PmWiki uses the RFC standard for
> auto-linking urls in text.

You win your bet.   However, RFC 1738 is obsolete--the newer ones are
RFC 2396 and RFC 2732.   http://www.pmwiki.org/wiki/PmWiki/AboutURI
summarizes these two RFCs, how they affect PmWiki, and how you can 
either change the behavior on your local site or work around it for
specific URLs.

The correct version of the frommers.com URL above would use %5e in 
place of the ^.

Pm



More information about the pmwiki-users mailing list