Hi there,

Sorry about all these questions, i am really new to modperl and just trying
to get it to work :(

I sanitize all my input in my scripts to only allow chars i want allowed. My
working lines before using modperl and for some reason kick out error with
mod perl are as follows:

$user =~ s/[^$OK_CHARS]//go;
$pass =~ s/[^$OK_CHARS]//go;

When an account is created i only allow chars from the list $OK_CHARS this
works with non modperl apache but not with modperl enabled apache?

The error in the log states:

[error] Unmatched [ before HERE mark in regex m/[ << HERE ^]/ at
libwelcome.pl line 169.

I some i dont undestand this, would someone explain what i am looking at
here, is there a change the way modperl uses regex expressions or?

Thanks,
John




Reply via email to