Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Consider URLs with an @ symbol in the path to be valid
Browse files Browse the repository at this point in the history
  • Loading branch information
hoverbird committed Aug 24, 2011
1 parent 85bb047 commit c621cce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extract.yml
Expand Up @@ -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"]
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit c621cce

Please sign in to comment.