Skip to content

Commit

Permalink
Avoid Possible unintended interpolation of @: in string
Browse files Browse the repository at this point in the history
  • Loading branch information
nuno-agostinho authored Nov 2, 2023
1 parent d25e114 commit 0412c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docs/update_web_vep_plugins_documentation.pl
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ sub read_plugin_file {
close(F);

# Make URLs clickable
$desc =~ s|((http\|ftp)s?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9():]{0,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*[^\)\.,;:\s]))|<a href="$1">$1</a>|g;
$desc =~ s|((http\|ftp)s?:\/\/(www\.)?[-a-zA-Z0-9\@:%._\+~#=]{1,256}\.[a-zA-Z0-9():]{0,6}\b([-a-zA-Z0-9()\@:%_\+.~#?&//=]*[^\)\.,;:\s]))|<a href="$1">$1</a>|g;

# Postprocess the description content (reformatting)
$desc = "<p>$desc</p>";
Expand Down

0 comments on commit 0412c44

Please sign in to comment.