I finally blew my TAINT



I've been working on some HTML::Mason authentiation code for a bit.
At one point it was working find but I decided to rewrite some goodies to clean things up a bit. Now I'm in trouble.


So....  I'm trying to get beyond this tainting stuff....

I tried $username =~ s/[^\w\-\@\.]//g;
but that doesn't seem to do it.

HTML::Mason::Exceptions::rethrow_exception('Insecure dependency in connect while running with -T switch at /usr/lib/perl/5.8/IO/Socket.pm line 114.^J') called at /usr/lib/perl/5.8/IO/Socket.pm line 114


What am I doing?

I pass a $username, $password into said form via HTTP POST
but I can't utilize the values because I have everything running in Taint mode. I won't consider removing it.


Is there a perldoc I need to read?
.



Relevant Pages

  • Re: "Unhandled Exception" errors in Safari 3.2.3
    ... longest time, well before the current Safari problem ... If you are having trouble at that point, there may be trouble with your ... Nothing like real trouble can reveal memory problems in my experience. ... You really do need to be able to test your machine on a clean install. ...
    (comp.sys.mac.apps)
  • Re: laundry and house cleaning poll - for those with little ones!
    ... >> Relatively recently I was in a not dissimilar situation when an honoured ... >> didn't go to all this trouble for me". ... >> happy to live with a dirty bathroom and only clean it for visitors. ...
    (misc.kids)
  • Re: Another free Democratic Election by a Free People
    ... My Mom made me clean up my plate regardless of what kind of exotic ... recipe she dumped on it. ... My parents never had much trouble. ...
    (rec.motorcycles)
  • Re: laundry and house cleaning poll - for those with little ones!
    ... > didn't go to all this trouble for me". ... > happy to live with a dirty bathroom and only clean it for visitors. ... people apologise for mess when I visit, ...
    (misc.kids)
  • Re: John Turd is a FUCKING CUNT
    ... (which leaves me a clean page!) ... Hi there Phil. ... went to the trouble of starting another thread you are obviously keen ... frequency response using SpectraPlus. ...
    (uk.rec.audio)

Loading