mherger wrote:
> > [18-06-01 09:50:31.6545] Slim::Networking::IO::Select::__ANON__ (131)
> > Error: Select task failed calling Slim::Web::HTTP::processHTTP:
> > Unescaped left brace in regex is illegal here in regex; marked by <--
> > HERE in m/{{ <-- HERE 00:04:20:10:1a:a5}}/ at
> > /usr/libexec/Plugins/SettingsManager/Web.pm line 232.
> > ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55cc5b84b148)
>
> I guess you're using { somewhere in a value, which breaks the regex
> parsing. Either change the plugin to not interpret those values as
> regexes (wrap ein \Q...\E), or modify the value to remove the brace or
> escape it. That's not a LMS issue.
>
The code in question is
Code:
--------------------
my %clientHash;
foreach my $c (Slim::Player::Client::clients()) {
my $cid = $c->id();
my $cname = $c->name();
$clientHash{$cname} = $cid;
# expand {{id1}} etc.
$cname = &escape_html($cname);
$nsHTML =~ s/{{$cid}}/$cname/sg;
--------------------
This looks like it is parsing the client names. But mine are "Bedroom"
and "livingRoom" so there are no braces. There is no other input to the
Settings manager that I know of. It was working before I updates to LEAP
15 and LMS 7.9.2-0.1.152.
------------------------------------------------------------------------
jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223
View this thread: http://forums.slimdevices.com/showthread.php?t=109113
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins