/[smeserver]/rpms/e-smith-formmagick/sme9/smeserver-e-smith-formmagick-csrf.patch
ViewVC logotype

Annotation of /rpms/e-smith-formmagick/sme9/smeserver-e-smith-formmagick-csrf.patch

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


Revision 1.2 - (hide annotations) (download)
Sun Jan 27 21:20:59 2019 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-formmagick-2_4_0-3_el6_sme, HEAD
Changes since 1.1: +12 -0 lines
* Sun Jan 27 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-3.sme
- add translation for CSRF [SME: 10626]

1 jcrisp 1.1 diff -ruN e-smith-formmagick-2.4.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick.pm e-smith-formmagick-2.4.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick.pm
2     --- e-smith-formmagick-2.4.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick.pm 2018-10-22 15:22:48.373509019 +0200
3     +++ e-smith-formmagick-2.4.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick.pm 2018-10-22 15:23:34.669783573 +0200
4     @@ -224,7 +224,8 @@
5     source => $data,
6     charset => $charset,
7     sessiondir => $sessiondir,
8     - debug => $args{debug}
9     + debug => $args{debug},
10     + csrf => 1
11     );
12    
13     my $fallback = "en-us";
14 jpp 1.2 diff -Nur e-smith-formmagick-2.4.0.old/root/etc/e-smith/locale/en-us/FormMagick/general e-smith-formmagick-2.4.0/root/etc/e-smith/locale/en-us/FormMagick/general
15     --- e-smith-formmagick-2.4.0.old/root/etc/e-smith/locale/en-us/FormMagick/general 2013-01-25 12:23:48.000000000 -0500
16     +++ e-smith-formmagick-2.4.0/root/etc/e-smith/locale/en-us/FormMagick/general 2019-01-27 16:03:02.543000000 -0500
17     @@ -712,4 +712,8 @@
18     <base>FM_ERR_UNEXPECTED_DESC</base>
19     <trans>Error: unexpected or missing characters in description</trans>
20     </entry>
21     + <entry>
22     + <base>CSRF_VALIDATION_FAILURE</base>
23     + <trans>Error: CSRF token is invalid or outdated.</trans>
24     + </entry>
25     </lexicon>

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