/[smeserver]/rpms/e-smith-manager/sme9/e-smith-manager-2.4.0-Back.patch
ViewVC logotype

Contents of /rpms/e-smith-manager/sme9/e-smith-manager-2.4.0-Back.patch

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


Revision 1.2 - (show annotations) (download)
Mon Mar 24 02:39:19 2014 UTC (10 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 2.6.0-1.sme
- Roll new stream to remove obsolete images [SME: 7962]

1 diff -ruN e-smith-manager-2.4.0.old/root/etc/e-smith/web/common/cgi-bin/login e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login
2 --- e-smith-manager-2.4.0.old/root/etc/e-smith/web/common/cgi-bin/login 2013-01-31 13:31:37.000000000 -0800
3 +++ e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login 2013-02-23 21:40:35.000000000 -0800
4 @@ -101,6 +101,7 @@
5 $back ||= $q->param($at->back_arg_name) if $at->back_arg_name;
6 #warn "back from cgi param is $back\n" if $back;
7 $back ||= $ENV{HTTP_REFERER} if $ENV{HTTP_REFERER} && $BACK_REFERER;
8 +$back = uri_unescape($back) if $back && $back =~ m/^https?%3A%2F%2F/i;
9 $back =~ s/^http:/https:/;
10 #warn "back is $back\n";
11 if ($back && $back =~ m!^/!) {
12 @@ -113,7 +114,7 @@
13 $back = 'http://' . $back;
14 #warn "back is $back\n";
15 }
16 -$back = uri_unescape($back) if $back && $back =~ m/^https?%3A%2F%2F/;
17 +
18 #warn "back is $back\n";
19 my $back_esc = uri_escape($back) if $back;
20 my $back_html = escapeHTML($back) if $back;

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