🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #63457

Re: slrn and lynx

#63457
From: John E. Davis
Date: Thu, 20 Jul 2000 00:00
16 lines
1727 bytes
On 20 Jul 2000 20:21:55 GMT, Sylvan Butler <nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid>
wrote:
>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.

I looked briefly at RFC 2396.  My current development code escapes the
following:  ! ~ * ' ( )
Hopefully this will be enough to avoid malicious URLs and not break
any valid ones.

--John

Technical Details
Message-ID: <slrn8ner61.avj.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
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> <slrn8neob8.ade.nospam+_no_Zs__0007@hpb13799z.zboi.hpz.com.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8ner61.avj.davis@aluche.mit.edu>
Subject: Re: slrn and lynx
Date: Thu, 20 Jul 2000 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
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> <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
X-Deja-AN: 648823340
X-Trace: dreaderd 964127938 9439 18.75.2.45
Organization: Center for Space Research
User-Agent: slrn/0.9.6.3 (Linux)
Reply-To: davis@space.mit.edu
Newsgroups: news.software.readers