Skip to content

Commit eb2dbe1

Browse files
committed
Comment out redundant PHP tag scan pattern in PatternScanner.
1 parent 52ace59 commit eb2dbe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Scanner/PatternScanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function scan(string $path, string $mimeType): ScanReport
3535
'iframe_embed' => '/<\s*iframe\b/i',
3636
'svg_foreignobject' => '/<\s*foreignobject\b/i',
3737
'svg_animate' => '/<\s*animate\b/i',
38-
// 'php_tag' => '/<\?(?:php|=)?/i',
38+
// 'php_tag' => '/<\?(?:php|=)?/i',
3939
'php_exec' => '/\b(?:shell_exec|exec|system|passthru|proc_open|popen)\s*\(/i',
4040
'pdf_js' => '/\/JavaScript\b|\/JS\b|\/OpenAction\b|\/AA\b/i',
4141
'html_meta_refresh' => '/<meta[^>]+http-equiv\s*=\s*["\']?refresh/i',

0 commit comments

Comments
 (0)