| puff | Actually, let me add the error message: http://pastecode.com/30031 |
| crunge | =~ not ~= |
| puff | Doh. Dangit. Thanks. |
| crunge | -> not => |
| oMish | fud, zlib |
| fud | ? |
| puff | Any other illegal characters come to mind for email parameters? Besides newlines... |
| sili | Email::Validate |
| crunge | wrong technique |
| sili | don't try to do it yourself |
| crunge | If there's a module to do it for you, use that If not, whitelist, don't blacklist |
| f3ew | RFC822::Regexp or just send that address an email |
| puff | Er, 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. |
| crunge | As a simple regex, you can do something to the effect of $address =~ m/[^a-zA-Z0-9.@_\-%]/; |
| puff | E.g. somebody could include newlines in the subject-line parameter and try to insert CC: headers. |
| Prof_Vince | \. |
| crunge | Prof_Vince: I thought you didn't need the \ inside of [] |
| puff | Hm, I guess if I'm sending it via a shell to sendmail, I should check for pipes. |
| t35t0r | anyone know how to get back into an xserve without vnc or ssh access? |
| JBond2 | is that a portable way to get snapshot of current OS pid list? |
| Jmax | the current pid? |
| Khisanth | cfedde: there is Net::IRC2 and Net::IRC3 :) |
| Jmax | or all pids? |
| JBond2 | of all pids. |
| Jmax | i don't think so. check cpan |
| JBond2 | is that a portable way to take snapshot of OS all pids? no? |
| Jmax | what? |
| JBond2 | i have search cpan. no result |
| Jmax | POSIX might have something, but i doubt it nope, it doesn't |
| JBond2 | so, 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. |