#perl - Tue 1 May 2007 between 07:40 and 03:21



puffActually, let me add the error message: http://pastecode.com/30031
crunge=~ not ~=
puffDoh.
Dangit.
Thanks.
crunge-> not =>
oMishfud, zlib
fud?
puffAny other illegal characters come to mind for email parameters? Besides newlines...
siliEmail::Validate
crungewrong technique
silidon't try to do it yourself
crungeIf there's a module to do it for you, use that
If not, whitelist, don't blacklist
f3ewRFC822::Regexp
or just send that address an email
puffEr, come again?
Oh, no... this is just a simple feedback form that emails me the data. The destination address will be hardcoded; I'm just checking for poisoned inputs.
crungeAs a simple regex, you can do something to the effect of $address =~ m/[^a-zA-Z0-9.@_\-%]/;
puffE.g. somebody could include newlines in the subject-line parameter and try to insert CC: headers.
Prof_Vince\.
crungeProf_Vince: I thought you didn't need the \ inside of []
puffHm, I guess if I'm sending it via a shell to sendmail, I should check for pipes.
t35t0ranyone know how to get back into an xserve without vnc or ssh access?
JBond2is that a portable way to get snapshot of current OS pid list?
Jmaxthe current pid?
Khisanthcfedde: there is Net::IRC2 and Net::IRC3 :)
Jmaxor all pids?
JBond2of all pids.
Jmaxi don't think so. check cpan
JBond2is that a portable way to take snapshot of OS all pids?
no?
Jmaxwhat?
JBond2i have search cpan. no result
JmaxPOSIX might have something, but i doubt it
nope, it doesn't
JBond2so, assume that someone want to write a ps, use completely perl
what he will do?
have to acess to /proc ?
but as far as i knew, some UNIX even don't support /proc.

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 

IrcArchive