/[smeserver]/rpms/e-smith-hosts/sme9/e-smith-hosts-2.4.0.comment_hostname_validator.patch
ViewVC logotype

Diff of /rpms/e-smith-hosts/sme9/e-smith-hosts-2.4.0.comment_hostname_validator.patch

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

Revision 1.1 by stephdl, Sun Jan 18 12:10:14 2015 UTC Revision 1.2 by stephdl, Wed Jan 21 21:53:44 2015 UTC
# Line 1  Line 1 
1    diff -Nur e-smith-hosts-2.4.0.old8723/root/etc/e-smith/db/hosts/migrate/30sanitise_host_comment e-smith-hosts-2.4.0.bz8723/root/etc/e-smith/db/hosts/migrate/30sanitise_host_comment
2    --- e-smith-hosts-2.4.0.old8723/root/etc/e-smith/db/hosts/migrate/30sanitise_host_comment       1970-01-01 01:00:00.000000000 +0100
3    +++ e-smith-hosts-2.4.0.bz8723/root/etc/e-smith/db/hosts/migrate/30sanitise_host_comment        2015-01-21 22:49:42.441035251 +0100
4    @@ -0,0 +1,13 @@
5    +{
6    +    #Added for bug 8723 & bug 8806
7    +    my @hosts  = $DB->keys;
8    +    foreach my $host (@hosts)
9    +    {
10    +        my $comment = $DB->get_prop("$host",'Comment')||'';
11    +        if ($comment ne '')
12    +        {
13    +            $comment =~ s/['"]//g;
14    +            $DB->set_prop("$host",'Comment',"$comment");
15    +        }
16    +    }
17    +}
18  diff -Nur e-smith-hosts-2.4.0.old8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries e-smith-hosts-2.4.0.bz8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries  diff -Nur e-smith-hosts-2.4.0.old8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries e-smith-hosts-2.4.0.bz8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries
19  --- e-smith-hosts-2.4.0.old8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries     2015-01-18 11:25:40.356221775 +0100  --- e-smith-hosts-2.4.0.old8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries     2015-01-18 11:25:40.356221775 +0100
20  +++ e-smith-hosts-2.4.0.bz8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries      2015-01-18 12:57:12.694843190 +0100  +++ e-smith-hosts-2.4.0.bz8723/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/hostentries      2015-01-18 12:57:12.694843190 +0100


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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