🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79143

Re: MacSOUP and wrapping URLs

#79143
From: Jukka K. Korpela
Date: Wed, 23 May 2001 22:02
56 lines
3615 bytes
Vincent Lefevre <vincent+news@vinc17.org> wrote:

> On Usenet, you can write lines longer than 78 characters.

Certainly. There's a lot you can do that you shouldn't do. This particular 
"should not" is in an Internet standard.

> Software not supporting that is broken.

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

> 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 
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.

> I don't know any software that doesn't support long lines,

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.

> Anyway, one can always use a transfer encoding.

Huh? No, please. QP is frowned upon.

>> Technically, a URL as such cannot contain a space but a URL reference
>> can (in the fragment part), and in effect we are discussing URL
>> references here. 
> 
> I disagree. RFC 2396 says that there are the same character
> restrictions (4.1).

You mean "The character restrictions described in Section 2 for URI also 
apply to the fragment in a URI-reference"? 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.)

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.

-- 
Yucca, http://www.malibutelecom.com/yucca/
 alias http://www.cs.tut.fi/~jkorpela/
Technical Details
Message-ID: <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!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!newsfeed.kpnqwest.fi!news.kpnqwest.fi!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>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90ABA596E83Ajkorpelacstutfi@193.64.137.17>
Subject: Re: MacSOUP and wrapping URLs
Date: Wed, 23 May 2001 22:02:09 GMT
From: jkorpela@cs.tut.fi (Jukka K. Korpela)
References: <20010523123830$275d@vinc17.org> <1etvap5.fxwdnx1va55c0N%stk@snafu.de> <Xns90AAA554BF000.thomas@esperanza.wkaz.net> <Xns90AAB6C478071jkorpelacstutfi@193.64.137.17> <20010523161310$3386@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.tele.dk!134.222.94.5!npeer.kpnqwest.net!newsfeed.kpnqwest.fi!news.kpnqwest.fi!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/4.05.11
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Face: "7e@Kl#.#stgp~0f;KQX1wn(yghY$dS[]s(Ivyj4#3J~p}~HHEevej;oDDMM\I?yo@:[Elru'YBJ>%{u*W:;#Fh=%LQyp~[4p
Lines: 55
NNTP-Posting-Host: 212.226.144.169
X-Complaints-To: helpdesk@kpnqwest.fi
X-Trace: news.kpnqwest.fi 990655329 212.226.144.169 (Thu, 24 May 2001 01:02:09 EET DST)
NNTP-Posting-Date: Thu, 24 May 2001 01:02:09 EET DST
Organization: KPNQwest Finland customer news service