Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow both http and https for autolinking

  • Loading branch information...
commit 639a50624dfe76e9210369780f2a06b2e57231b5 1 parent 9f00e90
@weierophinney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/PhlyPeep/View/PeepText.php
View
2  src/PhlyPeep/View/PeepText.php
@@ -9,7 +9,7 @@ class PeepText extends AbstractHelper
protected function filterLinks($text)
{
return preg_replace_callback(
- '#(http://[a-zA-Z0-9_%&~@/\#.-]+)#',
+ '#(https?://[a-zA-Z0-9_%&~@/\#.-]+)#',
array($this, 'markupLink'),
$text
);
Please sign in to comment.
Something went wrong with that request. Please try again.