During the maintenance of our web application, Stuart Johnston and myself noticed the email error report was nice but did not expand the array references. Here is the diff for the adjustments we thought would help.

#MailErrors.inc
14c14
< map { "$_= ".$Server->HTMLEncode(substr($Query->{$_}, 0, 100)) }
---
> map { "$_= ".$Server->HTMLEncode(substr((ref $Query->{$_} eq 'ARRAY')?'['.join(', ', @{$Query->{$_}}).']':$Query->{$_}, 0, 100)) }
18c18
< map { "$_= ".$Server->HTMLEncode(substr($Form->{$_}, 0, 100)) }
---
> map { "$_= ".$Server->HTMLEncode(substr((ref $Form->{$_} eq 'ARRAY')?'['.join(', ', @{$Form->{$_}}).']':$Form->{$_}, 0, 100)) }


Just our 2 cents.

Steve Lilley, CISSP
[EMAIL PROTECTED]
Direct - 972.661.9456
Toll Free - 866.447.2203
www.VaultraNet.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to