🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79196

Re: MacSOUP and wrapping URLs

#79196
From: Vincent Lefevre
Date: Fri, 25 May 2001 01:48
73 lines
4321 bytes
In article <Xns90ABA596E83Ajkorpelacstutfi@193.64.137.17>,
  Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:

> That is quite correct. The usual "be liberal in what you receive, 
> conservative in what you send" still applies.

So, to be conservative, don't wrap URLs. :)

>> The 80-character limit is only for
>> text that will be read.

> The 78-character limit is for all Internet messages, by RFC 2822.

The 78-character limit is for broken software. Such broken software
will probably still be broken when trying to launch wrapped URLs
anyway. And RFC 2822 says that this is mainly a display problem.
However, it isn't really important if a URL isn't correctly displayed
(in particular when it is a long URL).

> The Usenet article format is defined as a special case of RFC 822
> format, and it would be highly unnatural not to apply the RFC 2822
> instead now.

Not completely. There are things you could do in e-mail messages,
but you shouldn't in news messages.

> Apparently some people who participated the RFC 2822 process knew something 
> that you don't. Besides, 78 _is_ a fairly reasonable limit in text-only 
> media, and there are _devices_ that cannot display lines longer than 80 or 
> so.

Yes, in most cases. Sometimes you have no choice (e.g. output of some
program, log file or configuration file that has lines longer than 78
characters).

>> Anyway, one can always use a transfer encoding.

> Huh? No, please. QP is frowned upon.

I agree. :) But sometimes you have no choice because of limits imposed
by the standards.

> You mean "The character restrictions described in Section 2 for URI also 
> apply to the fragment in a URI-reference"?

Yes.

> You seem to have spotted an 
> oddity there. I wonder whether they really mean that. In any case, browsers 
> typically do _not_ support URL encoding in fragment identifiers. Having 
> tried with "...#foo bar" and "...#foo%20bar", I'd say that IE 5 and Opera 
> both support the former only. Netscape 4.5 seems to support both.

> (And there's no _reason_ to URL encode the fragment identifier, since it is 
> not sent over the network. The browser is expected to remove it, send a 
> request for the URL proper, and then use the fragment id locally.)

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

> What's relevant _here_ is that URL references containing spaces are 
> actually used (and I'd say: _need_ to be used), so the simple idea of using 
> just spaces around doesn't work in all cases.

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

-- 
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: <20010525012943$46eb@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!skynet.be!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>

Show Full Headers
Complete Article Headers
Message-ID: <20010525012943$46eb@vinc17.org>
Subject: Re: MacSOUP and wrapping URLs
Date: Fri, 25 May 2001 01:48:20 +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>
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!skynet.be!fr.clara.net!heighliner.fr.clara.net!nerim.net!norfair.nerim.net!not-for-mail
Newsgroups: news.software.readers
Organization: a training zoo
Lines: 72
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 990755300 8763 62.4.18.82 (25 May 2001 01:48:20 GMT)
X-Complaints-To: abuse@nerim.net
NNTP-Posting-Date: Fri, 25 May 2001 01:48:20 +0000 (UTC)
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.3-pre3 (ppc))