Backport #2184, Censys link

See #2127. The line is very long though: 152 chars
This commit is contained in:
Dirk
2022-05-14 11:42:43 +02:00
parent 41deaf908d
commit d38a8b283d
2 changed files with 11 additions and 9 deletions

View File

@ -36,7 +36,7 @@ unlink 'tmp.html';
# Remove the HTML footer
$edited_html =~ s/\n\<\/pre\>\n\<\/body\>\n\<\/html\>//;
# Remove any hypertext links for URLs
$edited_html =~ s/<a href=[0-9A-Za-z ";:=\/\.\?\-]*>//g;
$edited_html =~ s/<a href=[0-9A-Za-z ";:_&=\/\.\?\-]*>//g;
$edited_html =~ s/<\/a>//g;
# Replace escaped characters with their original text