From 4ad9ec72ccb796800e0782aea8b1c68f9885ef9a Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 6 Jan 2012 16:45:05 +0000 Subject: [PATCH] Making it (more) Windows compatible... by MarkusRR git-svn-id: https://svn.fhem.de/fhem/trunk@1171 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm2/01_FHEMWEB.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fhem/webfrontend/pgm2/01_FHEMWEB.pm b/fhem/webfrontend/pgm2/01_FHEMWEB.pm index f2da63e32..de85edf78 100755 --- a/fhem/webfrontend/pgm2/01_FHEMWEB.pm +++ b/fhem/webfrontend/pgm2/01_FHEMWEB.pm @@ -1032,7 +1032,11 @@ FW_substcfg($$$$$$) my $oll = $attr{global}{verbose}; $attr{global}{verbose} = 0; # Else the filenames will be Log'ged - my $title = AttrVal($wl, "title", "\"$file\""); + + my $fileesc = $file; + $fileesc =~ s/\\/\\\\/g; # For Windows, by MarkusRR + my $title = AttrVal($wl, "title", "\"$fileesc\""); + $title = AnalyzeCommand(undef, "{ $title }"); my $label = AttrVal($wl, "label", undef); my @g_label;