From 8900ebdbcff584c6f7fd1d0a5c1dfa5a89bb4712 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sun, 15 Jan 2017 15:19:42 +0000 Subject: [PATCH] 98_GoogleAuth.pm: fix iOS problem if label contains spaces git-svn-id: https://svn.fhem.de/fhem/trunk@13090 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_GoogleAuth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/98_GoogleAuth.pm b/fhem/FHEM/98_GoogleAuth.pm index a0d955fd7..5c43db5a0 100644 --- a/fhem/FHEM/98_GoogleAuth.pm +++ b/fhem/FHEM/98_GoogleAuth.pm @@ -189,6 +189,7 @@ sub GoogleAuth_Summary($$$$) { sub _ga_make_url($) { my ($name) = @_; my $label = AttrVal($name,'ga_labelName',"FHEM Authentication $name"); + $label =~ s/\s/\%20/g; my $qrsize = AttrVal($name,'ga_qrSize','200x200'); my $secret_base32 = getKeyValue("googleAuth$name"); return undef unless defined($secret_base32);