Skip to content
Browse files

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

  • Loading branch information...
1 parent 55be804 commit 5a813f96ecaf9551859a64a2e5d8ff6f41d7a864 @hoverbird hoverbird committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 extract.yml
View
4 extract.yml
@@ -217,6 +217,10 @@ tests:
text: "text http://x.com/oneletterdomain"
expected: ["http://x.com/oneletterdomain"]
+ - description: "Extract valid URL containing @ symbol: http://x.com/oneletterdomain"
+ text: "robocop on a unicorn: http://www.flickr.com/photos/87258185@N00/2493079197/in/set-72157603724213121 would I lie to you?"
+ expected: ["http://www.flickr.com/photos/87258185@N00/2493079197/in/set-72157603724213121"]
+
- description: "DO NOT extract invalid URL: http://domain-begin_dash_2314352345_dfasd.foo-cow_4352.com"
text: "text http://domain-dash_2314352345_dfasd.foo-cow_4352.com"
expected: []

0 comments on commit 5a813f9

Please sign in to comment.
Something went wrong with that request. Please try again.