--- parser3/tests/results/auto.p 2016/10/09 21:33:04 1.9 +++ parser3/tests/results/auto.p 2024/10/02 23:04:36 1.22 @@ -21,7 +21,7 @@ $NO_PROTOTYPE[ ^if($env:PATH_TRANSLATED eq '357.html'){ $LIMITS[ $.max_loop(50) - $.max_recoursion(50) + $.max_recursion(50) ] } ^if($env:PATH_TRANSLATED eq '358.html'){ @@ -30,7 +30,26 @@ $NO_PROTOTYPE[ $.max_recoursion(0) ] } +^if($env:PATH_TRANSLATED eq '380.html' || $env:PATH_TRANSLATED eq '394-curl.html' ){ + $LIMITS[ + $.max_file_size(10000) + ] +} + +^if($env:PATH_TRANSLATED eq '403.html'){ + $MIME-TYPES[^table::create{ext mime-type +txt text/plain +html text/html +}] +} + +^if($env:PATH_TRANSLATED eq '409.html'){ + $LOCALS(true) +} +^if($env:PATH_TRANSLATED eq '410.html'){ + $CLASS-GETTER-PROTECTED(false) +} @auto[] @@ -38,9 +57,16 @@ $NO_PROTOTYPE[ @try-catch[jCode] ^try{$jCode}{ $exception.handled(true) - Type: $exception.type, + Exception type: $exception.type, Source: $exception.source, - Comment: $exception.comment + Comment: ^taint[as-is;$exception.comment] +} + + +@try-catch-comment[jCode] +^try{$jCode}{ + $exception.handled(true) + Exception: ^taint[as-is;$exception.comment] } @@ -60,3 +86,7 @@ $response:charset[windows-1251] # backward @windows-1251[] ^1251[] + +@os[win;unix][name] +$name[^env:OS.left(7)] +$result[^if(^name.lower[] eq 'windows'){$win}{$unix}]