|
Posted by "Richard Lynch" on 08/27/05 03:04
On Thu, August 25, 2005 9:54 pm, Chris Shiflett wrote:
> Proper filtering is necessarily tedious. There is no way to filter a
> last name, a server name, a file name, an IP address, a ZIP code, and
> a
> comment with the same function. Those who try wind up creating a
> "lowest
> common denominator" filtering function, or they confuse filtering with
> escaping (as demonstrated by some of the replies).
>
> As a good friend of mine likes to say, you have to get your hands
> dirty.
Can anybody point to a good resource of a collection of filtering for
common inputs such as those listed by Chris above?...
I've searched for that and generally found one of two things:
1. Nothing useful.
2. A system so baroque and complex and with so much other baggage, it
would be impossible to integrate. See 1.
I'm looking more for code snippets or specific Regex functions for
each item, rather than a monolithic Borg-like "filtering package" and
have never one I liked.
That could be mostly my fault due to peculiar requirements, but there
it is.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|