Skip to content

Commit

Permalink
allow mailto and irc links in pod content
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Jun 8, 2016
1 parent 1a30f82 commit ebfe233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Controller/Pod.pm
Expand Up @@ -99,7 +99,7 @@ sub view : Private {
$self->add_favorites_data( $data, $reqs->{favorites}, $data );

my $hr = HTML::Restrict->new;
$hr->set_uri_schemes( [ undef, 'http', 'https', 'data' ] );
$hr->set_uri_schemes( [ undef, 'http', 'https', 'data', 'mailto', 'irc', 'ircs' ] );
$hr->set_rules(
{
a => [qw( href target )],
Expand Down

0 comments on commit ebfe233

Please sign in to comment.