comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Q: type ... is new String
Date: Wed, 6 Jun 2012 18:51:13 -0500
Date: 2012-06-06T18:51:13-05:00	[thread overview]
Message-ID: <jqoqdk$8dt$1@munin.nbi.dk> (raw)
In-Reply-To: 1tr1nuc1xy9mp$.d5s1fz9vuczz.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message 
news:1tr1nuc1xy9mp$.d5s1fz9vuczz.dlg@40tude.net...
> On Mon, 04 Jun 2012 22:56:01 +0200, Georg Bauhaus wrote:
>
>> On 04.06.12 19:05, Dmitry A. Kazakov wrote:
>
>>> There is nothing ambiguous in character encoding,
>>
>> In processing data from any source that speaks HTTP, you don't really 
>> know
>> the character encoding: you may be told the encoding is X but actually it
>> is Y.
>
> <=> I do know the encoding.
>
> You are trying to pursue some absolute truth, e.g. "true encoding" of a
> broken page, which simply does not exist and is irrelevant. You should
> define an encoding and that is all the corresponding component need to 
> know
> about it.

I agree with Dmitry here. It is idiotic for web tools to do anything with 
malformed input (pages, whatever) other than to reject them. If they did 
that, we'd have far fewer ways to attack web programs (like browsers), and 
far fewer malformed inputs as well (because hardly anyone would want to 
write pages that couldn't be rendered -- they'd fix them in a hurry).

The sloppiness in handling input is the bane of the Internet; software that 
doesn't do that is garbage. Unfortuately, garbage is all we have (thus the 
popularity of apps).

Note that for my spam filter, I block or quarantine almost everything 
malformed. I had to allow some holes in that, because some very common tools 
and sites send out only malformed mail; which is aggrevating and allows ways 
for spammers and other criminals to make successful attacks. Grumble.

                                       Randy.





  parent reply	other threads:[~2012-06-06 23:51 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 16:33 Q: type ... is new String tmoran
2012-05-30 17:04 ` Dmitry A. Kazakov
2012-05-31  7:37 ` Maciej Sobczak
2012-06-04  5:58   ` Yannick Duchêne (Hibou57)
2012-06-04  6:30     ` J-P. Rosen
2012-06-04  7:48       ` Yannick Duchêne (Hibou57)
2012-06-04  8:03         ` Dmitry A. Kazakov
2012-06-04  8:14           ` Yannick Duchêne (Hibou57)
2012-06-04  9:09             ` Dmitry A. Kazakov
2012-06-04 10:35         ` J-P. Rosen
2012-06-04  5:43 ` Yannick Duchêne (Hibou57)
2012-06-04 11:39 ` Brian Drummond
2012-06-04 13:36   ` Maciej Sobczak
2012-06-04 14:58     ` Georg Bauhaus
2012-06-04 15:14       ` Dmitry A. Kazakov
2012-06-04 16:06         ` Georg Bauhaus
2012-06-04 17:05           ` Dmitry A. Kazakov
2012-06-04 20:28             ` Yannick Duchêne (Hibou57)
2012-06-04 20:56             ` Georg Bauhaus
2012-06-05  7:32               ` Dmitry A. Kazakov
2012-06-05  8:40                 ` Georg Bauhaus
2012-06-05  9:06                   ` Dmitry A. Kazakov
2012-06-05 12:20                     ` Georg Bauhaus
2012-06-05 13:14                       ` Dmitry A. Kazakov
2012-06-06  4:09                       ` Shark8
2012-06-06  8:52                         ` Georg Bauhaus
2012-06-06 23:56                       ` Randy Brukardt
2012-06-07 11:15                         ` Georg Bauhaus
2012-06-06 23:51                 ` Randy Brukardt [this message]
2012-06-04 20:33         ` Yannick Duchêne (Hibou57)
2012-06-04 21:27           ` Georg Bauhaus
     [not found]             ` <m9kqs7hgii13e220b1phm46n43d92tu1pj@invalid.netcom.com>
2012-06-05  6:15               ` Georg Bauhaus
2012-06-05  6:36                 ` Yannick Duchêne (Hibou57)
2012-06-06  4:14               ` Shark8
2012-06-07  0:01             ` Randy Brukardt
2012-06-07  0:20               ` Adam Beneschan
2012-06-05 12:05     ` Brian Drummond
2012-06-05 14:43       ` Yannick Duchêne (Hibou57)
2012-06-04 15:54   ` Shark8
2012-06-04 22:01     ` Jeffrey Carter
2012-06-05 12:10       ` Brian Drummond
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox