in reply to Security with a MEMO field
Remove all carriage returns:
Remove leading and trailing white space:$text =~ tr/\r//d;
Remove any extra line breaks:$text =~ s/^ +| +$//gm;
Then submit using placeholders to take care of potential security breaches.$text =~ s/^\n+|\n+$//g; $text =~ s/\n{3,}/\n\n/g;
|
|---|