Re: Various FreeBSD bits...

Matt Palmer
Wed, 14 Nov 2007 21:25:47 -0000

On Wed, Nov 14, 2007 at 10:05:59AM -0800, Sean Chittenden
wrote:
> >> Have an example handy?  -sc
> >
> > wiki:PracticalTypes, for a start.  The toyshop is coming, too.
>
>
> Ah!  Very cool....  Good read.  Is there any reason that there
isn''t a
> puppet supplied ''please escape this parameter so I can pass it to
a
> command without worry'' escaping function?

Probably because depending on what you''re actually passing the
parameter to,
the escaping needs to be different?  It also encourages you to use native
types...

> I''m starting to have twitches of php_register_globals...

As in withdrawal symptoms?  Because premature escaping reminds me an awful
lot of magic_quotes and database-specific escaping functions that the user
has to manually invoke.

- Matt

--
"The user-friendly computer is a red herring. The user-friendliness of a
book just makes it easier to turn pages. There''s nothing user-friendly
about
learning to read."
		-- Alan Kay