1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-email-4.16.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/pseudonyms.pm mezzanine_patched_e-smith-email-4.16.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/pseudonyms.pm |
2 |
--- e-smith-email-4.16.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/pseudonyms.pm 2007-06-11 12:07:36.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-email-4.16.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/pseudonyms.pm 2007-06-11 12:06:59.000000000 -0600 |
4 |
@@ -14,6 +14,7 @@ |
5 |
use File::Basename; |
6 |
use Exporter; |
7 |
use Carp; |
8 |
+use URI::Escape; |
9 |
|
10 |
our @ISA = qw(esmith::FormMagick Exporter); |
11 |
|
12 |
@@ -527,7 +528,7 @@ |
13 |
|
14 |
sub print_hidden_pseudonym_field { |
15 |
my $fm = shift; |
16 |
- print "<input type='hidden' name='pseudonym' value='".$fm->{'cgi'}->param('pseudonym')."'>"; |
17 |
+ print "<input type='hidden' name='pseudonym' value=\"".uri_escape($fm->{'cgi'}->param('pseudonym'))."\">"; |
18 |
return ''; |
19 |
} |
20 |
|