2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

look for opening [

This commit is contained in:
Mark Andrews 2015-10-06 19:40:01 +11:00
parent 3db767c98f
commit d9156bba3e

View File

@ -322,7 +322,7 @@ foreach $file (keys %file_types) {
close(SOURCE) if (eof(SOURCE));
next;
}
if (/^<!DOCTYPE/) {
if (/^<!DOCTYPE.*\[$/) {
while (!eof(SOURCE)) {
$_ = <SOURCE>;
next if (eof(SOURCE));