/[smeserver]/rpms/e-smith-email/sme8/e-smith-email-4.16.0-uriencode.patch2
ViewVC logotype

Contents of /rpms/e-smith-email/sme8/e-smith-email-4.16.0-uriencode.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 18:43:14 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-email-4_16_0-22_el5_sme, e-smith-email-4_16_0-21_el5_sme, e-smith-email-4_16_0-24_el5_sme, e-smith-email-4_16_0-25_el5_sme, e-smith-email-4_16_0-23_el5_sme, e-smith-email-4_16_0-20_el5_sme
Branch point for: e-smith-email-4_16-tree
Import on branch sme8 of package e-smith-email-4.16.0-20.el5.sme.src.rpm

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:26:32.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:26:24.000000000 -0600
4 @@ -200,7 +200,7 @@
5 my $q = $fm->{'cgi'};
6 my $msg = "OK";
7
8 - my $pseudonym = $q->param ('pseudonym');
9 + my $pseudonym = uri_unescape($q->param ('pseudonym'));
10 my $account = $q->param ('account');
11
12 $accounts->get($pseudonym)->set_prop('Account', $account)
13 @@ -231,7 +231,7 @@
14 my $q = $fm->{'cgi'};
15 my $msg = "OK";
16
17 - my $pseudonym = $q->param('pseudonym');
18 + my $pseudonym = uri_unescape($q->param('pseudonym'));
19
20 unless($fm->validate_is_pseudonym($pseudonym) eq 'OK') {
21 $fm->{cgi}->param( -name => 'wherenext', -value => 'InvalidPseudonym' );
22 @@ -487,7 +487,9 @@
23 sub validate_is_pseudonym {
24 my $fm = shift;
25 my $pseudonym = shift;
26 - my $type = $accounts->get($pseudonym)->prop('type');
27 + $pseudonym = $accounts->get($pseudonym);
28 + return('NOT_A_PSEUDONYM') unless $pseudonym;
29 + my $type = $pseudonym->prop('type');
30
31 unless (defined $type && ($type eq 'pseudonym') ) {
32

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed