🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63448

Re: slrn and lynx

#63448
From: Sylvan Butler
Date: Thu, 20 Jul 2000 00:00
28 lines
2458 bytes
On 20 Jul 2000 17:42:16 GMT, John E. Davis <davis@space.mit.edu> wrote:
>I suspect that you are using a debian version of slrn.  Earlier this
>year, it was brought to my attention that a URL such as:
>
>    http://xyz.com&;'/bin/whatever
>
>would cause /bin/whatever to execute.  I sent the debian folks a
>simple patch that expanded characters such as `&' to `%26' thinking
>that an equivalent URL would be produced.  I am not convinced that
>this was the correct solution to the problem.

You should be convinced the other way.  :)

It is impossible to fully escape URLs.  Proper escaping (which wouldn't
solve the & problem) requires understanding uchars (normal url
characters), pchars (parameter characters) and query characters.
Parameters and queries both specifically the '&' and other characters
and they must not be escaped or else the URL will break.

sdb
-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Technical Details
Message-ID: <slrn8neob8.ade.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid>
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!not-for-mail
References: <slrn8mm3s6.4to.rickp@tc.telocity.com> <slrn8mmifg.4tf.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid> <slrn8mo9nd.ls.rickp@tc.telocity.com> <slrn8msgbb.9pi.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid> <slrn8n8n8u.hk2.rickp@tc.telocity.com> <slrn8n9n85.6ms.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid> <slrn8ndtea.d84.rickp@tc.telocity.com> <slrn8neefm.aa5.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8neob8.ade.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid>
Subject: Re: slrn and lynx
Date: Thu, 20 Jul 2000 00:00:00 +0000
From: nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid (Sylvan Butler)
References: <slrn8mm3s6.4to.rickp@tc.telocity.com> <slrn8mmifg.4tf.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid> <slrn8mo9nd.ls.rickp@tc.telocity.com> <slrn8msgbb.9pi.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid> <slrn8n8n8u.hk2.rickp@tc.telocity.com> <slrn8n9n85.6ms.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid> <slrn8ndtea.d84.rickp@tc.telocity.com> <slrn8neefm.aa5.davis@aluche.mit.edu>
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!not-for-mail
X-Deja-AN: 648809391
X-Original-NNTP-Posting-Host: hpb13799.boi.hp.com
Mail-Copies-To: never
X-Complaints-To: usenet@news.boi.hp.com
X-Trace: hpbs1500.boi.hp.com 964126331 18964 15.98.137.41 (20 Jul 2000 20:52:11 GMT)
Organization: Hewlett-Packard
User-Agent: slrn/0.9.6.2 (Linux)
NNTP-Posting-Date: 20 Jul 2000 20:52:11 GMT
Newsgroups: news.software.readers