Changeset 1049


Ignore:
Timestamp:
11/28/08 19:19:25 (4 years ago)
Author:
CrawfordCurrie
Message:

Item296: ignore newlines in PERL values. Also reverted the autoenable in pseudo-install.

Location:
trunk/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Configure/Types/PERL.pm

    r830 r1049  
    7070"Parse of structured value failed at: $s\nPlease go back and check it."; 
    7171    } 
    72     $val =~ /(.*)/;    # parsed, so safe to untaint 
     72    $val =~ /(.*)/s;    # parsed, so safe to untaint 
    7373    return eval $1; 
    7474} 
  • trunk/core/pseudo-install.pl

    r868 r1049  
    327327} 
    328328 
    329 my $autoenable = 1; 
     329my $autoenable = 0; 
    330330my $installing = 1; 
    331331my $autoconf = 0; 
     
    346346        $autoenable = 1; 
    347347    } elsif ($arg =~ /^-m/) { 
    348         $autoenable = 1; 
     348        $autoenable = 0; 
    349349    } elsif ($arg =~ /^-A/) { 
    350350        $autoconf = 1; 
Note: See TracChangeset for help on using the changeset viewer.