Allow space in icon names
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2576 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -42,6 +42,14 @@ urlEncode($) {
|
||||
return $_;
|
||||
}
|
||||
|
||||
##################
|
||||
sub
|
||||
urlDecode($) {
|
||||
$_= $_[0];
|
||||
s/%([0-9A-F][0-9A-F])/chr(hex($1))/egi;
|
||||
return $_;
|
||||
}
|
||||
|
||||
##################
|
||||
# - if data (which is urlEncoded) is set, then a POST is performed, else a GET.
|
||||
# - noshutdown must be set for e.g the Fritz!Box
|
||||
|
||||
Reference in New Issue
Block a user