🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79234

Re: MacSOUP and wrapping URLs

#79234
From: Jukka K. Korpela
Date: Fri, 25 May 2001 16:29
71 lines
4679 bytes
Vincent Lefevre <vincent+news@vinc17.org> wrote:

> The 78-character limit is for broken software.

Yes, as RFC 2822 says. Well-behaving software has no problems with _either_ 
longer lines _or_ with URLs split properly. Now, considering inferior 
software, isn't the _general_ Internet message syntax (designed to take 
such software into account) more important than some special cases related 
to making long URLs automatically tractable`?

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

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

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

Do we understand the phrase "special case of" differently?
 
>> 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.

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

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.

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

Technically, that's true. I have never seen a URL reference with ">" in the 
fragment, though, so this is a pretty theoretical question. 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.

-- 
Yucca, http://www.malibutelecom.com/yucca/
 alias http://www.cs.tut.fi/~jkorpela/
Technical Details
Message-ID: <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!newsfeed.gamma.ru!Gamma.RU!news1.spb.su!newsfeed1.funet.fi!newsfeeds.funet.fi!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> <Xns90ABA596E83Ajkorpelacstutfi@193.64.137.17> <20010525012943$46eb@vinc17.org>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90ACC6146C12Ejkorpelacstutfi@193.64.137.17>
Subject: Re: MacSOUP and wrapping URLs
Date: Fri, 25 May 2001 16:29:28 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> <Xns90ABA596E83Ajkorpelacstutfi@193.64.137.17> <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!newsfeed.gamma.ru!Gamma.RU!news1.spb.su!newsfeed1.funet.fi!newsfeeds.funet.fi!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: 70
NNTP-Posting-Host: 212.226.144.169
X-Complaints-To: helpdesk@kpnqwest.fi
X-Trace: news.kpnqwest.fi 990808168 212.226.144.169 (Fri, 25 May 2001 19:29:28 EET DST)
NNTP-Posting-Date: Fri, 25 May 2001 19:29:28 EET DST
Organization: KPNQwest Finland customer news service