[X2Go-Commits] [x2goserver] 01/01: convert sanitizer type to lowercase always
git-admin at x2go.org
git-admin at x2go.org
Tue Apr 15 15:56:22 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 6db96a87768940d00f5a9a019fc6cfcd3bfa8c3f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Apr 15 15:56:19 2014 +0200
convert sanitizer type to lowercase always
---
X2Go/Utils.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/X2Go/Utils.pm b/X2Go/Utils.pm
index 8936a27..9de854a 100644
--- a/X2Go/Utils.pm
+++ b/X2Go/Utils.pm
@@ -85,7 +85,7 @@ sub source_environment {
# Over-zealous string sanitizer that makes perl strict and perl -T happy...
sub sanitizer {
- my $type = $_[0];
+ my $type = lc($_[0]);
my $string = $_[1];
if ($type eq "anumazcs") {
$string =~ s/[^a-zA-Z0-9]//g;
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list