From 6c329dec08545220b86cf621afe3c0354aacca38 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Wed, 13 Jul 2022 17:48:24 +0000 Subject: [PATCH] : git-svn-id: https://svn.fhem.de/fhem/trunk@26225 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/betateilchen/02_FHEMapi.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/betateilchen/02_FHEMapi.pm b/fhem/contrib/betateilchen/02_FHEMapi.pm index 53d3e0b1c..ce1a78c01 100644 --- a/fhem/contrib/betateilchen/02_FHEMapi.pm +++ b/fhem/contrib/betateilchen/02_FHEMapi.pm @@ -135,7 +135,7 @@ sub FHEMapi_CGI() { # Match request first without trailing / in the link part if($request =~ m,^(/[^/]+)(/(.*)?)?$,) { my $link= $1; - my $request= $3; + my $cmdline= $3; my $name; # If FWEXT not found for this make a second try with a trailing slash in the link part @@ -148,13 +148,13 @@ sub FHEMapi_CGI() { $name= $data{FWEXT}{$link}{deviceName}; # Debug "link= $link"; -# Debug "request= $request"; +# Debug "cmdline= $cmdline"; # Debug "name= $name"; # return error if no such device return("text/plain; charset=utf-8", "No FHEMapi device for $link") unless($name); - return("text/plain; charset=utf-8", $request); + return("text/plain; charset=utf-8", $cmdline); # my $fullName = $filename;