<?xml version="1.0" encoding="windows-1252"?>
<node id="516693" title="Re: What's your favourite method of untainting?" created="2005-12-14 12:07:00" updated="2005-12-14 07:07:00">
<type id="11">
note</type>
<author id="218135">
Nkuvu</author>
<data>
<field name="doctext">
&lt;p&gt;Personally like the method: &lt;c&gt;my ($foo) = $var =~ /^.*$/&lt;/c&gt;&lt;/p&gt;
&lt;p&gt;It's the "I don't care what was there, but now I'm sure it's safe" untaint method. And it looks more impressive than &lt;c&gt;my $foo = 1&lt;/c&gt;.&lt;br /&gt;
&amp;lt;/tongue_in_cheek&amp;gt;&lt;/p&gt;</field>
<field name="root_node">
516577</field>
<field name="parent_node">
516577</field>
</data>
</node>
