Permalink
Browse files

Consider URLs with an @ symbol in the path to be valid

  • Loading branch information...
1 parent 85bb047 commit c621ccefb5371ec783351a5a0805a7a6d10fd3c7 @hoverbird hoverbird committed Aug 24, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 extract.yml
View
@@ -111,6 +111,10 @@ tests:
text: "text http://www.boingboing.net/2007/02/14/katamari_damacy_phon.html"
expected: ["http://www.boingboing.net/2007/02/14/katamari_damacy_phon.html"]
+ - description: "Extract valid URL: http://www.boingboing.net/2007/02/14/katamari_damacy_phon.html"
+ text: "that's how the light gets in: http://www.flickr.com/photos/60936079@N05/5714919287/in/pool-best100only beautiful!"
+ expected: ["http://www.flickr.com/photos/60936079@N05/5714919287/in/pool-best100only"]
+
- description: "Extract valid URL: http://somehost.com:3000"
text: "text http://somehost.com:3000"
expected: ["http://somehost.com:3000"]
@@ -138,7 +142,7 @@ tests:
- description: "Extract valid URL: http://✪df.ws/ejp"
text: "text http://✪df.ws/ejp"
expected: ["http://✪df.ws/ejp"]
-
+
- description: "Extract valid URL: http://chilp.it/?77e8fd"
text: "text http://chilp.it/?77e8fd"
expected: ["http://chilp.it/?77e8fd"]

0 comments on commit c621cce

Please sign in to comment.