Skip to content

Commit c7b2fdd

Browse files
committed
- Split URLs on whitespace also when flat file format is used.
1 parent af9c4bc commit c7b2fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cna-assignment-info-to-json.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
$line = shift @lines or die "*** Incomplete entry for $id at line $l! ***\n";
128128
$l++;
129129
die "*** Invalid content in line $l ($line)! ***\n" unless ($line =~ /^\s*\[REFERENCES\]\s*:\s*(.+?)\s*$/);
130-
@urls = split(/\s*,\s*/, $1);
130+
@urls = split(/\s+/, $1);
131131

132132
$line = shift @lines or die "*** Incomplete entry for $id at line $l! ***\n";
133133
$l++;

0 commit comments

Comments
 (0)