🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79263

Re: MacSOUP and wrapping URLs

#79263
From: Vincent Lefevre
Date: Sat, 26 May 2001 00:35
81 lines
4834 bytes
In article <Xns90ACC6146C12Ejkorpelacstutfi@193.64.137.17>,
  Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:

> There is no requirement whatsoever that Usenet user agents "launch" any 
> URLs in any way. It's just an optional feature. If a newsreader shows lines 
> longer than 78 characters wrong, then the human user gets an unwrapped long 
> URL wrong. "Launching" is surely not the only way to use a URL in a Usenet 
> message. It could be cut & pasted, printed, or even typed by hand. The 78 
> character limit is intended to prevent distortion of textual content of 
> messages (including eventual URLs, or course).

But whitespaces are included when copy-pasting, which may be a problem
in some contexts, e.g. copy-paste to HTML source. And it is ambiguous
if you have a space in the fragment identifier. :) For instance:

<URL:http://very.long/url.html#fragment
 identifier>

Should this be

  http://very.long/url.html#fragment identifier

or

  http://very.long/url.html#fragmentidentifier

(extra whitespace could have been introduced, according to RFC 2396, E)?

> Do we understand the phrase "special case of" differently?

The format of a Usenet article is based on RFC 2822, but it has its
own rules too.

>>> Huh? No, please. QP is frowned upon.
>> 
>> I agree. :) But sometimes you have no choice because of limits imposed
>> by the standards.

> There's always a way to avoid QP. Often the question is how to minimize 
> damages and risks, and I have yet to see a case where QP wins here.

If for some reason you have to include very long lines, you may need
to use QP. Same problem if an e-mail message contains "From " at the
beginning of a line, because otherwise, some (broken?) MTAs will add
a ">" in front of the "From ".

>> I disagree. You could have problems with <A href="#blah "> for instance
>> because of HTML (SGML) rules.

> Such a construct could surely cause problems*), but it's most probably just 
> a typo for <A href="#blah">, referring to an anchor set with <a 
> name="blah">, and this means that when using a URL reference in Usenet, we 
> need not care about the trailing space.
> *) HTML specs explicitly say that user agents _may_ ignore a trailing space 
> in an attribute value.

But what if an author *wants* to have a space at the end of the fragment?
IMHO, it should be encoded. Well, I don't know what the HTML specs say
about fragment encoding... How about if we have Unicode characters?

>> Then, we could use URL references containing ">" too, and URL handling
>> in messages would be broken.

> Technically, that's true. I have never seen a URL reference with ">" in the 
> fragment, though, so this is a pretty theoretical question.

But the RFCs should take this problem into account.

> I can agree that such a case, exceeding the 78 character limit (if
> the URL reference is long) might be the least of evils; but I don't
> expect to ever see such a case. On the other hand, spaces in
> fragment ids are a real issue.

but may be ambiguous as I said above.

-- 
Vincent Lef�vre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Math�matiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Technical Details
Message-ID: <20010526001354$790c@vinc17.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!nerim.net!norfair.nerim.net!not-for-mail
References: <20010523123830$275d@vinc17.org> <1etvap5.fxwdnx1va55c0N%stk@snafu.de> <Xns90AAA554BF000.thomas@esperanza.wkaz.net> <Xns90AAB6C478071jkorpelacstutfi@193.64.137.17> <20010523161310$3386@vinc17.org> <Xns90ABA596E83Ajkorpelacstutfi@193.64.137.17> <20010525012943$46eb@vinc17.org> <Xns90ACC6146C12Ejkorpelacstutfi@193.64.137.17>

Show Full Headers
Complete Article Headers
Message-ID: <20010526001354$790c@vinc17.org>
Subject: Re: MacSOUP and wrapping URLs
Date: Sat, 26 May 2001 00:35:11 +0000
From: Vincent Lefevre <vincent+news@vinc17.org>
References: <20010523123830$275d@vinc17.org> <1etvap5.fxwdnx1va55c0N%stk@snafu.de> <Xns90AAA554BF000.thomas@esperanza.wkaz.net> <Xns90AAB6C478071jkorpelacstutfi@193.64.137.17> <20010523161310$3386@vinc17.org> <Xns90ABA596E83Ajkorpelacstutfi@193.64.137.17> <20010525012943$46eb@vinc17.org> <Xns90ACC6146C12Ejkorpelacstutfi@193.64.137.17>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!nerim.net!norfair.nerim.net!not-for-mail
Newsgroups: news.software.readers
Organization: a training zoo
Lines: 80
Sender: Vincent Lefevre <lefevre@localhost.nerim.net>
NNTP-Posting-Host: aboukir-101-1-1-vinc17.adsl.nerim.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: norfair.nerim.net 990837311 3640 62.4.18.82 (26 May 2001 00:35:11 GMT)
X-Complaints-To: abuse@nerim.net
NNTP-Posting-Date: Sat, 26 May 2001 00:35:11 +0000 (UTC)
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.3-pre3 (ppc))