Skip to content

Commit

Permalink
add more protocols to the whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
aidantwoods committed May 5, 2017
1 parent 054ba3c commit dc30cb4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Parsedown.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ function setSafeLinksEnabled($safeLinksEnabled)
'data:image/png;base64,',
'data:image/gif;base64,',
'data:image/jpeg;base64,',
'irc:',
'ircs:',
'git:',
'ssh:',
'ftp:',
'ftps:',
'news:',
'steam:',
);

#
Expand Down

0 comments on commit dc30cb4

Please sign in to comment.