🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #254965

Re: [xnews] BUG - links ending with ")"

#254965
From: Frank Slootweg
Date: Thu, 13 Jun 2013 19:17
88 lines
4496 bytes
Adam H. Kerman <ahk@chinet.com> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
> >Ammammata <ammammata@tiscalinet.it> wrote:
> 
> >>a couple of them:
> 
> >>>http://en.wikipedia.org/wiki/Atomix_(computer_game)
> 
> >>>http://en.wikipedia.org/wiki/XOR_(video_game)
>  
> >>double clicking on the link, the final bracket is missing
> 
> >Minor nit: They're not links, but URLs
> 
> >More to the point: They're not delimited (with '<' and '>'), which is
> >probably the cause of the 'problem'.
> 
> >Do these work? :
> 
> ><http://en.wikipedia.org/wiki/Atomix_(computer_game)>
> 
> ><http://en.wikipedia.org/wiki/XOR_(video_game)>
> 
> >If so,there's no 'problem'/'BUG', and you should complain to the
> >poster for posting non-conforming (non-)URLs.
> 
> It's recommended, but not standard, to delimit URLs. I don't use delimiters
> for the very good reason that they're readily parsable if bounded by line
> boundaries or space characters.

  IOW, you *do* use delimiters, namely whitespace.

  But using whitespace to delimit is error prone, because people often
forget that they're using whitespace to delimit and forget to prevent
problems in cases like "URL.", "URL:", etc..

  As I mentioned in the other thread ("A more recent picture of me (
 Jeff Relf )."), there's probably a good reason that *T. Berners-Lee*
used '<' and '>' (for the *only* real external reference) in *his*
RFC3986 "Uniform Resource Identifier (URI): Generic Syntax"! :-)

  If it's good enough for Sir Berners-Lee, it's good enough for me, and
(IMO) should be good enough for you/anyone.

>				  If long, I send a long line rather than
> breaking them.
> 
> Delimiting URLs is pointless. The delimiter is useful to allow it to
> be parsed if broken, having exceeded line length and using one of those
> idiotic newsreaders that mis-implements the parsing concept of "word" and
> simply breaks the line at the pre-set line length.

  That *should* not be a problem, because the broken up line contains
whitespace at the breakpoint and a URL can be broken up by whitespace.
Note, I said "*should*", because I'm very well aware that many
newsreaders (and other software) can not handle URLs broken up by
whitespace.

  And then there's the case of broken up URLs, which contain a hyphen as
part of the URL.

  Etc., etc. ad infinitum.
  
[Agreed upon stuff deleted.]

> I suspect what's happened here is that closing parenthesis has been parsed
> as a delimiter as some authors use non-standard delimiters like a pair of
> parentheses to delimit a URL. In my opinion, those shouldn't be accepted as
> delimiters. Therefore, the parser shouldn't treat them as such.

  (IMO) You can't have you cake and eat it too. If whitespace delimiters
are OK, then so are parenthesis, etc. etc..

  As Shmuel (Seymour J.) Metz mentioned in the other thread, RFC3986
says:

	In practice, URIs are delimited in a variety of ways, but usually
	within double-quotes "http://example.com/", angle brackets
	<http://example.com/>, or just by using whitespace:

  So the use of parenthesis as delimiters is an example of "in a variety
of ways".

> I agree with the OP's characterization that it's a bug.

  (Considering the above mentioned problems, and IMO,) FSVSVO 'bug'.

  Thanks for your response.
Technical Details
Message-ID: <b1uk68Fek77U1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <XnsA1DC59F518D55ammammatatiscalineti@46.4.82.189> <b1oq1qF64b8U1@mid.individual.net> <kpacfj$6ms$3@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <b1uk68Fek77U1@mid.individual.net>
Subject: Re: [xnews] BUG - links ending with ")"
Date: Thu, 13 Jun 2013 19:17:28 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <XnsA1DC59F518D55ammammatatiscalineti@46.4.82.189> <b1oq1qF64b8U1@mid.individual.net> <kpacfj$6ms$3@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
Lines: 88
X-Trace: individual.net n4tQZH10uoBqaOpnrQq4IARmesW+vZsOQ+wSxKZIUkjTsDpNEv
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:OFxeFzLXsuHDphyvmztl1Ib8zNY=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
X-Original-Bytes: 4205