Permalink
Browse files

be more strict about cl.ly urls

  • Loading branch information...
leedo committed Apr 5, 2012
1 parent a22f6e6 commit 371320320a77b7d5ba1ed0c57451881bc3d58cb8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Noembed/Source/CloudApp.pm
@@ -14,7 +14,7 @@ sub prepare_source {
}
sub provider_name { 'CloudApp' }
-sub patterns { 'http://cl\.ly/[0-9a-zA-Z]+' }
+sub patterns { 'http://cl\.ly/[0-9a-zA-Z]+/?$' }
sub serialize {
my ($self, $body) = @_;

0 comments on commit 3713203

Please sign in to comment.