X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FCGI%2FBugreport.pm;h=00619fc47a70d99a0b1c50fc9575760a510e576c;hb=4c244879af2b9e8c0055968d7ffb054646cb7607;hp=dc02b224c4c77b7757ab6324fd686bd0c92b2f50;hpb=64d0fa452631c6e228fad18f8ae469582e3734b3;p=debbugs.git diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index dc02b22..00619fc 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -271,7 +271,7 @@ sub display_entity { # We don't html escape here because we escape above; # wierd terminators are because of that $body =~ s{((?:ftp|http|https|svn|ftps|rsync)://[\S~-]+?/?) # Url - ((?:\>\;)?[)]?(?:'|\&\#39\;)?[:.\,]?(?:\s|$)) # terminators + ((?:\>\;)?[)]?(?:'|\&\#39\;|\"\;)?[:.\,]?(?:\s|$)) # terminators }{$1$2}gox; # Add links to bug closures $body =~ s[((?:closes|see):\s* # start of closed/referenced bugs @@ -474,7 +474,7 @@ sub __libravatar_url { if (not defined $config{libravatar_uri} or not length $config{libravatar_uri}) { return undef; } - ($email) = get_addresses($email); + ($email) = grep {/\@/} get_addresses($email); return $config{libravatar_uri}.uri_escape_utf8($email.($config{libravatar_uri_options}//'')); }