From: <de...@de...> - 2011-09-21 00:58:19
|
Author: PeterThoeny Date: 2011-09-20 19:58:13 -0500 (Tue, 20 Sep 2011) New Revision: 22330 Trac url: http://develop.twiki.org/trac/changeset/22330 Modified: twiki/trunk/core/lib/TWiki/Configure/Checker.pm Log: Item6809: Fix for broken configure regexp checker Modified: twiki/trunk/core/lib/TWiki/Configure/Checker.pm =================================================================== --- twiki/trunk/core/lib/TWiki/Configure/Checker.pm 2011-09-21 00:31:13 UTC (rev 22329) +++ twiki/trunk/core/lib/TWiki/Configure/Checker.pm 2011-09-21 00:58:13 UTC (rev 22330) @@ -236,7 +236,7 @@ my $str; eval '$str = $TWiki::cfg'.$keys; return '' unless defined $str; - eval "qr/$str/"; + eval "'x' =~ \$str"; if ($@) { return $this->ERROR(<<MESS); Invalid regular expression: $@ <p /> |