Skip to content
This repository
Newer
Older
100644 459 lines (345 sloc) 28.702 kb
4cb08c86 »
2010-01-21 Add readme and sample files
1
2 tests:
3 usernames:
4 - description: "Autolink trailing username"
5 text: "text @username"
6 expected: "text @<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>"
8977065f »
2010-01-22 Fill in the remainder of the user autolinking specs from the original…
7
b23c6aaa »
2010-01-22 Add a few more username autolink tests (mostly to test git submodules)
8 - description: "Autolink username at the beginning"
9 text: "@username text"
10 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a> text"
8977065f »
2010-01-22 Fill in the remainder of the user autolinking specs from the original…
11
12 - description: "DO NOT Autolink username preceded by a letter"
b23c6aaa »
2010-01-22 Add a few more username autolink tests (mostly to test git submodules)
13 text: "meet@the beach"
14 expected: "meet@the beach"
8977065f »
2010-01-22 Fill in the remainder of the user autolinking specs from the original…
15
e32214a1 »
2010-01-22 Add a few more username autolink tests (mostly to test git submodules)
16 - description: "Autolink username preceded by puctuation"
17 text: "great.@username"
18 expected: "great.@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>"
8977065f »
2010-01-22 Fill in the remainder of the user autolinking specs from the original…
19
20 - description: "Autolink username followed by puctuation"
21 text: "@username&^$%^"
22 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>&^$%^"
23
24 - description: "Autolink username followed by Japanese"
25 text: "@usernameの"
26 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>の"
27
28 - description: "Autolink username preceded by Japanese"
29 text: "あ@username"
30 expected: "あ@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>"
31
32 - description: "Autolink username surrounded by Japanese"
e194a08d »
2010-01-22 Fix bug in conformance test data: autolinking surrounded by Japanese
33 text: "あ@usernameの"
8977065f »
2010-01-22 Fill in the remainder of the user autolinking specs from the original…
34 expected: "あ@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>の"
35
63f28c82 »
2010-09-24 Add a conformance tests for autolinking username in old-style RTs whe…
36 - description: "Autolink usernamt in compressed RT"
37 text: "RT@username: long Tweet is loooong"
38 expected: "RT@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>: long Tweet is loooong"
39
84357f0b »
2010-09-23 Add conformance tests for @user followed by accents (prevent spamming…
40 - description: "DO NOT Autolink username followed by accented latin characters"
41 text: "@aliceìnheiro something something"
42 expected: "@aliceìnheiro something something"
43
44 - description: "DO NOT Autolink username @_ in @_@"
45 text: "oh, snap! @_@"
46 expected: "oh, snap! @_@"
47
8977065f »
2010-01-22 Fill in the remainder of the user autolinking specs from the original…
48 - description: "Autolink username with full-width at sign (U+FF20)"
49 text: "@username"
50 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>"
51
52 - description: "DO NOT Autolink username over 20 characters"
53 text: "@username9012345678901"
d6c92bb1 »
2010-01-22 Fix bug in conformance test data: autolinking username > 20 chars (re…
54 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username901234567890\">username901234567890</a>1"
73eff47c »
2010-10-05 added test for two usernames
55
56 - description: "Autolink two usernames"
57 text: "@foo @bar"
58 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a> @<a class=\"tweet-url username\" href=\"http://twitter.com/bar\">bar</a>"
8934ceec »
2010-10-22 another edge case test
59
687d3351 »
2010-11-01 autolink usernames followed by :
60 - description: "Autolink usernames followed by :"
61 text: "@foo: @bar"
62 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a>: @<a class=\"tweet-url username\" href=\"http://twitter.com/bar\">bar</a>"
63
8934ceec »
2010-10-22 another edge case test
64 - description: "Autolink usernames that are followed by international characters"
5b465dd2 »
2010-10-22 fix the yml
65 text: "@foo îs in the house"
66 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/foo\">foo</a> îs in the house"
3aca14da »
2011-05-18 Update conformance for validation, extraction and autolinking of Russ…
67
4cb08c86 »
2010-01-21 Add readme and sample files
68 lists:
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
69 - description: "Autolink list preceded by a space"
4cb08c86 »
2010-01-21 Add readme and sample files
70 text: "text @username/list"
71 expected: "text @<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list\">username/list</a>"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
72
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
73 - description: "DO NOT Autolink list when space follows slash"
74 text: "text @username/ list"
75 expected: "text @<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>/ list"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
76
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
77 - description: "DO NOT Autolink list with empty username"
78 text: "text @/list"
79 expected: "text @/list"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
80
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
81 - description: "Autolink list at the beginning"
82 text: "@username/list"
83 expected: "@<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list\">username/list</a>"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
84
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
85 - description: "DO NOT Autolink list preceded by letter"
86 text: "meet@the/beach"
87 expected: "meet@the/beach"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
88
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
89 - description: "Autolink list preceded by puctuation"
90 text: "great.@username/list"
91 expected: "great.@<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list\">username/list</a>"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
92
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
93 - description: "Autolink list followed by puctuation"
94 text: "@username/list&^$%^"
95 expected: "@<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list\">username/list</a>&^$%^"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
96
048e0a54 »
2010-08-19 Correct the list linking tests to corrently reflect the legnth restri…
97 - description: "Autolink list name over 25 characters (truncated to 25)"
98 text: "@username/list567890123456789012345A"
99 expected: "@<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list567890123456789012345\">username/list567890123456789012345</a>A"
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
100
d64c3eac »
2010-08-19 Add autolinking tests for other list slug formatting issues
101 - description: "Autolink list that contains an _"
102 text: "text @username/list_name"
103 expected: "text @<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list_name\">username/list_name</a>"
104
105 - description: "Autolink list that contains a -"
106 text: "text @username/list-name"
107 expected: "text @<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list-name\">username/list-name</a>"
108
109 - description: "Autolink list that contains a number"
110 text: "text @username/list123"
111 expected: "text @<a class=\"tweet-url list-slug\" href=\"http://twitter.com/username/list123\">username/list123</a>"
112
113 - description: "DO NOT Autolink list starting with a number"
114 text: "@username/1list"
115 expected: "@<a class=\"tweet-url username\" href=\"http://twitter.com/username\">username</a>/1list"
116
4cb08c86 »
2010-01-21 Add readme and sample files
117 hashtags:
118 - description: "Autolink trailing hashtag"
119 text: "text #hashtag"
120 expected: "text <a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a>"
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
121
122 - description: "Autolink alphanumeric hashtag (letter-number-letter)"
123 text: "text #hash0tag"
124 expected: "text <a href=\"http://twitter.com/search?q=%23hash0tag\" title=\"#hash0tag\" class=\"tweet-url hashtag\">#hash0tag</a>"
125
126 - description: "Autolink alphanumeric hashtag (number-letter)"
127 text: "text #1tag"
128 expected: "text <a href=\"http://twitter.com/search?q=%231tag\" title=\"#1tag\" class=\"tweet-url hashtag\">#1tag</a>"
129
130 - description: "Autolink hashtag with underscore"
131 text: "text #hash_tag"
132 expected: "text <a href=\"http://twitter.com/search?q=%23hash_tag\" title=\"#hash_tag\" class=\"tweet-url hashtag\">#hash_tag</a>"
133
134 - description: "DO NOT Autolink all-numeric hashtags"
135 text: "text #1234"
136 expected: "text #1234"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
137
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
138 - description: "DO NOT Autolink hashtag preceded by a letter"
139 text: "text#hashtag"
140 expected: "text#hashtag"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
141
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
142 - description: "Autolink multiple hashtags"
143 text: "text #hashtag1 #hashtag2"
144 expected: "text <a href=\"http://twitter.com/search?q=%23hashtag1\" title=\"#hashtag1\" class=\"tweet-url hashtag\">#hashtag1</a> <a href=\"http://twitter.com/search?q=%23hashtag2\" title=\"#hashtag2\" class=\"tweet-url hashtag\">#hashtag2</a>"
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
145
dae9d932 »
2010-01-22 Fill in hashtag auto linking based on Ruby specs
146 - description: "Autolink hashtag preceded by a period"
147 text: "text.#hashtag"
148 expected: "text.<a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a>"
149
150 - description: "DO NOT Autolink hashtag preceded by &"
151 text: "&#nbsp;"
152 expected: "&#nbsp;"
153
154 - description: "Autolink hashtag followed by ! (! not included)"
155 text: "text #hashtag!"
156 expected: "text <a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a>!"
157
158 - description: "Autolink hashtag followed by Japanese"
159 text: "text #hashtagの"
160 expected: "text <a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a>の"
161
162 - description: "Autolink hashtag preceded by full-width space (U+3000)"
163 text: "text #hashtag"
164 expected: "text <a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a>"
165
166 - description: "Autolink hashtag followed by full-width space (U+3000)"
167 text: "#hashtag text"
168 expected: "<a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a> text"
169
170 - description: "Autolink hashtag with full-width hash (U+FF03)"
171 text: "#hashtag"
172 expected: "<a href=\"http://twitter.com/search?q=%23hashtag\" title=\"#hashtag\" class=\"tweet-url hashtag\">#hashtag</a>"
173
a828de41 »
2011-04-18 Allow accented characters in hashtags
174 - description: "Autolink hashtag with accented character at the start"
5b38e8a9 »
2010-07-19 Add autolink tests around accented characters
175 text: "#éhashtag"
75e504b6 »
2011-04-18 Fixed incorrect hashtag character
176 expected: "<a href=\"http://twitter.com/search?q=%23éhashtag\" title=\"#éhashtag\" class=\"tweet-url hashtag\">#éhashtag</a>"
5b38e8a9 »
2010-07-19 Add autolink tests around accented characters
177
178 - description: "Autolink hashtag with accented character at the end"
179 text: "#hashtagé"
180 expected: "<a href=\"http://twitter.com/search?q=%23hashtagé\" title=\"#hashtagé\" class=\"tweet-url hashtag\">#hashtagé</a>"
181
182 - description: "Autolink hashtag with accented character in the middle"
183 text: "#hashétag"
184 expected: "<a href=\"http://twitter.com/search?q=%23hashétag\" title=\"#hashétag\" class=\"tweet-url hashtag\">#hashétag</a>"
185
3aca14da »
2011-05-18 Update conformance for validation, extraction and autolinking of Russ…
186 - description: "Autolink hashtags in Korean"
187 text: "What is #트위터 anyway?"
188 expected: "What is <a href=\"http://twitter.com/search?q=%23트위터\" title=\"#트위터\" class=\"tweet-url hashtag\">#트위터</a> anyway?"
189
190 - description: "Autolink hashtags in Russian"
191 text: "What is #ашок anyway?"
192 expected: "What is <a href=\"http://twitter.com/search?q=%23ашок\" title=\"#ашок\" class=\"tweet-url hashtag\">#ашок</a> anyway?"
5b38e8a9 »
2010-07-19 Add autolink tests around accented characters
193
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
194 urls:
62c6f384 »
2011-01-07 Allow pipe character in URLs
195 - description: "Autolink URL with pipe character"
196 text: "text http://example.com/pipe|character?yes|pipe|character"
f9a6d728 »
2011-01-11 Fix typo
197 expected: "text <a href=\"http://example.com/pipe|character?yes|pipe|character\">http://example.com/pipe|character?yes|pipe|character</a>"
62c6f384 »
2011-01-07 Allow pipe character in URLs
198
ba63a8a6 »
2010-01-22 Remove trailing spaces. Re-order autolink conformance data
199 - description: "Autolink trailing url"
200 text: "text http://example.com"
201 expected: "text <a href=\"http://example.com\">http://example.com</a>"
7f54f4c0 »
2010-01-22 Fill in some URL autolinking from the Ruby specs
202
203 - description: "Autolink url in mid-text"
204 text: "text http://example.com more text"
205 expected: "text <a href=\"http://example.com\">http://example.com</a> more text"
206
207 - description: "Autolink url in Japanese text"
208 text: "いまなにしてるhttp://example.comいまなにしてる"
209 expected: "いまなにしてる<a href=\"http://example.com\">http://example.com</a>いまなにしてる"
210
83e4218f »
2010-07-08 Tweak cases for matching parentheses in URLs
211 - description: "Autolink url surrounded by parentheses does not capture them"
7f54f4c0 »
2010-01-22 Fill in some URL autolinking from the Ruby specs
212 text: "text (http://example.com)"
8e20dfb6 »
2010-02-02 Fixing quotes in new conformance test
213 expected: "text (<a href=\"http://example.com\">http://example.com</a>)"
ba876020 »
2010-02-02 Allow unicode characters in domains and colons preceding urls
214
83e4218f »
2010-07-08 Tweak cases for matching parentheses in URLs
215 - description: "Autolink url with path surrounded by parentheses does not capture them"
9acf952d »
2010-07-08 Add specs for URLs with embedded, matched parentheses and URLs embded…
216 text: "text (http://example.com/test)"
217 expected: "text (<a href=\"http://example.com/test\">http://example.com/test</a>)"
218
219 - description: "Autolink url with embedded parentheses"
83e4218f »
2010-07-08 Tweak cases for matching parentheses in URLs
220 text: "text http://msdn.com/S(deadbeef)/page.htm"
ee1441d2 »
2010-07-09 Mistyped test data
221 expected: "text <a href=\"http://msdn.com/S(deadbeef)/page.htm\">http://msdn.com/S(deadbeef)/page.htm</a>"
9acf952d »
2010-07-08 Add specs for URLs with embedded, matched parentheses and URLs embded…
222
568af0f8 »
2010-08-10 test for XSS hiding between balanced parens
223 - description: "Autolink url with balanced parens hiding XSS"
224 text: 'text http://foo.bar/("onclick="alert(1)")'
225 expected: 'text <a href="http://foo.bar/">http://foo.bar/</a>("onclick="alert(1)")'
226
9acf952d »
2010-07-08 Add specs for URLs with embedded, matched parentheses and URLs embded…
227 - description: "Autolink url should NOT capture unbalanced parens"
228 text: "Parenthetically bad http://example.com/i_has_a_) thing"
229 expected: "Parenthetically bad <a href=\"http://example.com/i_has_a_\">http://example.com/i_has_a_</a>) thing"
230
85bb047a »
2010-02-02 Remove conformance spec prohibiting URLs preceded by a colon
231 - description: "Autolink url containing unicode characters"
ba876020 »
2010-02-02 Allow unicode characters in domains and colons preceding urls
232 text: "I enjoy Macintosh Brand computers: http://✪df.ws/ejp"
8e20dfb6 »
2010-02-02 Fixing quotes in new conformance test
233 expected: "I enjoy Macintosh Brand computers: <a href=\"http://✪df.ws/ejp\">http://✪df.ws/ejp</a>"
ba876020 »
2010-02-02 Allow unicode characters in domains and colons preceding urls
234
056022c2 »
2010-04-26 Add a .co.jp autolink test
235 - description: "Autolink url with .co. under TLD"
236 text: "test http://www.example.co.jp"
237 expected: "test <a href=\"http://www.example.co.jp\">http://www.example.co.jp</a>"
238
f6dafb5f »
2010-02-03 Add more edge case testing for pinctuation in domains
239 - description: "DO NOT Autolink url containing ! character in the domain"
240 text: "badly formatted http://foo!bar.com"
241 expected: "badly formatted http://foo!bar.com"
242
243 - description: "DO NOT Autolink url containing _ character in the domain"
244 text: "badly formatted http://foo_bar.com"
245 expected: "badly formatted http://foo_bar.com"
246
ba876020 »
2010-02-02 Allow unicode characters in domains and colons preceding urls
247 - description: "Autolink url preceded by :"
248 text: "text:http://example.com"
249 expected: "text:<a href=\"http://example.com\">http://example.com</a>"
7f54f4c0 »
2010-01-22 Fill in some URL autolinking from the Ruby specs
250
251 - description: "Autolink url followed by ? (without it)"
252 text: "text http://example.com?"
253 expected: "text <a href=\"http://example.com\">http://example.com</a>?"
254
255 - description: "Autolink url followed by ! (without it)"
256 text: "text http://example.com!"
257 expected: "text <a href=\"http://example.com\">http://example.com</a>!"
258
259 - description: "Autolink url followed by , (without it)"
260 text: "text http://example.com,"
261 expected: "text <a href=\"http://example.com\">http://example.com</a>,"
262
75b0baf5 »
2010-11-24 Add a conformance test for autolinking URLs with paths followed by a …
263 - description: "Autolink url with path followed by a comma (wihout the comma)"
264 text: "In http://example.com/test, Douglas explains 42."
265 expected: "In <a href=\"http://example.com/test\">http://example.com/test</a>, Douglas explains 42."
266
7f54f4c0 »
2010-01-22 Fill in some URL autolinking from the Ruby specs
267 - description: "Autolink url followed by . (without it)"
268 text: "text http://example.com."
269 expected: "text <a href=\"http://example.com\">http://example.com</a>."
270
271 - description: "Autolink url followed by : (without it)"
272 text: "text http://example.com:"
273 expected: "text <a href=\"http://example.com\">http://example.com</a>:"
274
275 - description: "Autolink url followed by ; (without it)"
276 text: "text http://example.com;"
277 expected: "text <a href=\"http://example.com\">http://example.com</a>;"
278
279 - description: "Autolink url followed by ] (without it)"
280 text: "text http://example.com]"
281 expected: "text <a href=\"http://example.com\">http://example.com</a>]"
282
283 - description: "Autolink url followed by ) (without it)"
284 text: "text http://example.com)"
285 expected: "text <a href=\"http://example.com\">http://example.com</a>)"
286
287 - description: "Autolink url followed by } (without it)"
288 text: "text http://example.com}"
289 expected: "text <a href=\"http://example.com\">http://example.com</a>}"
290
291 - description: "Autolink url followed by = (without it)"
292 text: "text http://example.com="
293 expected: "text <a href=\"http://example.com\">http://example.com</a>="
294
295 - description: "Autolink url followed by ' (without it)"
296 text: "text http://example.com'"
297 expected: "text <a href=\"http://example.com\">http://example.com</a>'"
298
299 - description: "DO NOT Autolink url preceded by /"
300 text: "text /http://example.com"
301 expected: "text /http://example.com"
302
303 - description: "DO NOT Autolink url preceded by !"
304 text: "text !http://example.com"
305 expected: "text !http://example.com"
306
307 - description: "DO NOT Autolink url preceded by ="
308 text: "text =http://example.com"
309 expected: "text =http://example.com"
310
335add9f »
2010-10-20 don't allow @ as a preceding character for URLs
311 - description: "DO NOT Autolink url preceded by @"
312 text: "@http://example.com"
313 expected: "@http://example.com"
314
315 - description: "DO NOT Autolink domain in email address"
316 text: "foo@bar.com"
317 expected: "foo@bar.com"
318
7f54f4c0 »
2010-01-22 Fill in some URL autolinking from the Ruby specs
319 - description: "Autolink url embedded in link tag"
320 text: "<link rel='true'>http://example.com</link>"
321 expected: "<link rel='true'><a href=\"http://example.com\">http://example.com</a></link>"
322
323 - description: "Autolink multiple urls"
324 text: "http://example.com https://sslexample.com http://sub.example.com"
4c437bc1 »
2010-01-22 Remove invalid test case
325 expected: "<a href=\"http://example.com\">http://example.com</a> <a href=\"https://sslexample.com\">https://sslexample.com</a> <a href=\"http://sub.example.com\">http://sub.example.com</a>"
7f54f4c0 »
2010-01-22 Fill in some URL autolinking from the Ruby specs
326
327 - description: "Autolink url with long TLD"
328 text: "http://example.mobi/path"
329 expected: "<a href=\"http://example.mobi/path\">http://example.mobi/path</a>"
330
49f08f5a »
2010-10-04 new conformance behavior
331 - description: "Autolink url containing ending with #value (not as url + hashtag)"
332 text: "http://foo.com/?#foo"
36e0592c »
2010-12-02 Correct the other non-protocol autolink and extraction tests
333 expected: "<a href=\"http://foo.com/?#foo\">http://foo.com/?#foo</a>"
49f08f5a »
2010-10-04 new conformance behavior
334
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
335 - description: "DO NOT Autolink url without protocol (with www)"
49f08f5a »
2010-10-04 new conformance behavior
336 text: "www.example.biz"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
337 expected: "www.example.biz"
8e920e6a »
2010-01-27 Add case sensitivity test for link without protocol
338
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
339 - description: "DO NOT Autolink url without protocol (with WWW)"
49f08f5a »
2010-10-04 new conformance behavior
340 text: "WWW.EXAMPLE.BIZ"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
341 expected: "WWW.EXAMPLE.BIZ"
49f08f5a »
2010-10-04 new conformance behavior
342
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
343 - description: "DO NOT Autolink URL without protocol and without www (ending in .com)"
49f08f5a »
2010-10-04 new conformance behavior
344 text: "foo.com"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
345 expected: "foo.com"
49f08f5a »
2010-10-04 new conformance behavior
346
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
347 - description: "DO NOT Autolink URL without protocol and without www (ending in .org)"
49f08f5a »
2010-10-04 new conformance behavior
348 text: "foo.org"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
349 expected: "foo.org"
49f08f5a »
2010-10-04 new conformance behavior
350
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
351 - description: "DO NOT Autolink URL without protocol and without www (ending in .net)"
49f08f5a »
2010-10-04 new conformance behavior
352 text: "foo.net"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
353 expected: "foo.net"
49f08f5a »
2010-10-04 new conformance behavior
354
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
355 - description: "DO NOT Autolink URL without protocol and without www (ending in .gov)"
49f08f5a »
2010-10-04 new conformance behavior
356 text: "foo.gov"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
357 expected: "foo.gov"
49f08f5a »
2010-10-04 new conformance behavior
358
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
359 - description: "DO NOT Autolink URL without protocol and without www (ending in .edu)"
49f08f5a »
2010-10-04 new conformance behavior
360 text: "foo.edu"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
361 expected: "foo.edu"
49f08f5a »
2010-10-04 new conformance behavior
362
363 - description: "Autolink URL without protocol and without www not ending in /.(edu|com|gov|org|net)/"
364 text: "foo.it twitter.co.jp foo.commerce foo.nettastic foo.us foo.co.uk"
365 expected: "foo.it twitter.co.jp foo.commerce foo.nettastic foo.us foo.co.uk"
b5f7f2d1 »
2010-01-29 Add a new conformance tests for http://domain.tld/path&@username
366
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
367 - description: "Multiple URLs with different protocols but not without a protocol"
0913a3d8 »
2010-03-05 Added test cases for URLs followed by a period for basic URLs as well…
368 text: "http://foo.com AND https://bar.com AND www.foobar.com"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
369 expected: "<a href=\"http://foo.com\">http://foo.com</a> AND <a href=\"https://bar.com\">https://bar.com</a> AND www.foobar.com"
0913a3d8 »
2010-03-05 Added test cases for URLs followed by a period for basic URLs as well…
370
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
371 - description: "Autolink raw domain followed by domain only links the first"
0aeb4182 »
2010-03-04 Add a test for two valid domains divided by a space
372 text: "See http://example.com example.com"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
373 expected: "See <a href=\"http://example.com\">http://example.com</a> example.com"
0aeb4182 »
2010-03-04 Add a test for two valid domains divided by a space
374
e34bbf4b »
2010-02-23 tests for urls with @-signs in them.
375 - description: "Autolink url that includes @-sign and numeric dir under it"
376 text: "http://www.flickr.com/photos/29674651@N00/4382024406"
377 expected: "<a href=\"http://www.flickr.com/photos/29674651@N00/4382024406\">http://www.flickr.com/photos/29674651@N00/4382024406</a>"
378
379 - description: "Autolink url that includes @-sign and non-numeric dir under it"
380 text: "http://www.flickr.com/photos/29674651@N00/foobar"
e119e959 »
2010-03-04 Correct the flickr-ish path info
381 expected: "<a href=\"http://www.flickr.com/photos/29674651@N00/foobar\">http://www.flickr.com/photos/29674651@N00/foobar</a>"
e34bbf4b »
2010-02-23 tests for urls with @-signs in them.
382
0913a3d8 »
2010-03-05 Added test cases for URLs followed by a period for basic URLs as well…
383 - description: "Autolink URL with only a domain followed by a period doesn't swallow the period."
384 text: "I think it's proper to end sentences with a period http://tell.me. Even when they contain a URL."
385 expected: "I think it's proper to end sentences with a period <a href=\"http://tell.me\">http://tell.me</a>. Even when they contain a URL."
1e2ddb57 »
2010-03-04 Added failing cases for URLs surrounded by parens and URLs followed b…
386
0913a3d8 »
2010-03-05 Added test cases for URLs followed by a period for basic URLs as well…
387 - description: "Autolink URL with a path followed by a period doesn't swallow the period."
1e2ddb57 »
2010-03-04 Added failing cases for URLs surrounded by parens and URLs followed b…
388 text: "I think it's proper to end sentences with a period http://tell.me/why. Even when they contain a URL."
389 expected: "I think it's proper to end sentences with a period <a href=\"http://tell.me/why\">http://tell.me/why</a>. Even when they contain a URL."
390
0913a3d8 »
2010-03-05 Added test cases for URLs followed by a period for basic URLs as well…
391 - description: "Autolink URL with a query followed by a period doesn't swallow the period."
392 text: "I think it's proper to end sentences with a period http://tell.me/why?=because.i.want.it. Even when they contain a URL."
393 expected: "I think it's proper to end sentences with a period <a href=\"http://tell.me/why?=because.i.want.it\">http://tell.me/why?=because.i.want.it</a>. Even when they contain a URL."
394
655fdaad »
2010-04-15 Allow hyphens in domain names, except at the beginning. Disallow sing…
395 - description: "Autolink URL with a hyphen in the domain name"
396 text: "Czech out sweet deals at http://mrs.domain-dash.biz ok?"
397 expected: "Czech out sweet deals at <a href=\"http://mrs.domain-dash.biz\">http://mrs.domain-dash.biz</a> ok?"
398
155e2bd8 »
2010-03-11 Add conformance tests for dot and dash restrictions in domain names
399 - description: "Autolink URL should NOT autolink www...foo"
400 text: "Is www...foo a valid URL?"
401 expected: "Is www...foo a valid URL?"
402
403 - description: "Autolink URL should NOT autolink www.-foo.com"
404 text: "Is www.-foo.com a valid URL?"
405 expected: "Is www.-foo.com a valid URL?"
406
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
407 - description: "Autolink URL should NOT autolink a domain with a valid dash but no protocol"
155e2bd8 »
2010-03-11 Add conformance tests for dot and dash restrictions in domain names
408 text: "Is www.foo-bar.com a valid URL?"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
409 expected: "Is www.foo-bar.com a valid URL?"
410
96c2f93c »
2011-01-06 Add extraction/autlink tests for URL paths ending in + and -. Bump to…
411 - description: "Autolink URL should autolink a domain with a valid dash and a protocol"
a1acf2c9 »
2010-12-02 Turn off TLD and WWW tests
412 text: "Is http://www.foo-bar.com a valid URL?"
36e0592c »
2010-12-02 Correct the other non-protocol autolink and extraction tests
413 expected: "Is <a href=\"http://www.foo-bar.com\">http://www.foo-bar.com</a> a valid URL?"
9acf952d »
2010-07-08 Add specs for URLs with embedded, matched parentheses and URLs embded…
414
7be56b79 »
2010-03-26 Add a conformance test for search URLs (already passes. Toubleshootin…
415 - description: "Autolink URL should link search urls (with &lang=, not &lang;)"
416 text: "Check out http://search.twitter.com/search?q=avro&lang=en"
1d0ed159 »
2010-10-04 added expected encoding for & in url
417 expected: "Check out <a href=\"http://search.twitter.com/search?q=avro&amp;lang=en\">http://search.twitter.com/search?q=avro&amp;lang=en</a>"
7be56b79 »
2010-03-26 Add a conformance test for search URLs (already passes. Toubleshootin…
418
48c40883 »
2010-08-19 Add a test case for URLs with very long paths
419 - description: "Autolink URL should link urls with very long paths"
420 text: "Check out http://example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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c5ef0227 »
2010-09-21 Add an addition XSS test
422
423 - description: "Autolink URL should HTML escape the URL"
424 text: "example: http://twitter.com/otm_m@\"onmousedown=\"alert('foo')\" style=background-color:yellow;color:yellow;\"/"
425 expected: "example: <a href=\"http://twitter.com/otm_m\">http://twitter.com/otm_m</a>@\"onmousedown=\"alert('foo')\" style=background-color:yellow;color:yellow;\"/"
426
96c2f93c »
2011-01-06 Add extraction/autlink tests for URL paths ending in + and -. Bump to…
427 - description: "Autolink URL should autolink a URL with a - or + at the end of the path"
428 text: "Go to http://example.com/a+ or http://example.com/a-"
429 expected: "Go to <a href=\"http://example.com/a+\">http://example.com/a+</a> or <a href=\"http://example.com/a-\">http://example.com/a-</a>"
e810e4ec »
2010-11-01 japanese edge case
430
7ff30176 »
2011-01-06 Add more tests around the v1.3.1 conformance fixes
431 - description: "Autolink URL should autolink a URL with a - or + at the end of the path and query parameters"
432 text: "Go to http://example.com/a+?this=that or http://example.com/a-?this=that"
433 expected: "Go to <a href=\"http://example.com/a+?this=that\">http://example.com/a+?this=that</a> or <a href=\"http://example.com/a-?this=that\">http://example.com/a-?this=that</a>"
434
435 - description: "Autolink URL should autolink URLs with longer paths ending in -"
436 text: "Go to http://example.com/view/slug-url-?foo=bar"
437 expected: "Go to <a href=\"http://example.com/view/slug-url-?foo=bar\">http://example.com/view/slug-url-?foo=bar</a>"
438
b5f7f2d1 »
2010-01-29 Add a new conformance tests for http://domain.tld/path&@username
439 all:
67417609 »
2010-03-04 Make the auto link all test more realistic
440 - description: "Autolink all does not break on URL with @"
655fdaad »
2010-04-15 Allow hyphens in domain names, except at the beginning. Disallow sing…
441 text: "http://www.flickr.com/photos/29674651@N00/4382024406 if you know what's good for you."
442 expected: "<a href=\"http://www.flickr.com/photos/29674651@N00/4382024406\">http://www.flickr.com/photos/29674651@N00/4382024406</a> if you know what's good for you."
b5f7f2d1 »
2010-01-29 Add a new conformance tests for http://domain.tld/path&@username
443
1b2c3be7 »
2010-03-09 Add autolink test for URL with & but no ?
444 - description: "Autolink all does not allow & without ?"
445 text: "Check out: http://example.com/test&@chasesechrist"
446 expected: "Check out: <a href=\"http://example.com/test\">http://example.com/test</a>&@<a class=\"tweet-url username\" href=\"http://twitter.com/chasesechrist\">chasesechrist</a>"
3ba7c459 »
2010-07-12 Add an auto link test for github issue #9
447
c5ef0227 »
2010-09-21 Add an addition XSS test
448 - description: "Correctly handles URL follower directly by @user"
3ba7c459 »
2010-07-12 Add an auto link test for github issue #9
449 text: "See: http://example.com/@user"
450 expected: "See: <a href=\"http://example.com/\">http://example.com/</a>@<a class=\"tweet-url username\" href=\"http://twitter.com/user\">user</a>"
c7d84978 »
2010-08-24 Add a conformance test for the Ruby XSS-after-@ issues
451
13926c12 »
2010-09-28 added some more conformance tests for XSS stuff
452 - description: "Correctly handles URL with an @user followed by trailing /"
453 text: "See: http://example.com/@user/"
454 expected: "See: <a href=\"http://example.com/@user/\">http://example.com/@user/</a>"
455
c7d84978 »
2010-08-24 Add a conformance test for the Ruby XSS-after-@ issues
456 - description: "Does not allow an XSS after an @"
457 text: "See: http://x.xx/@\"style=\"color:pink\"onmouseover=alert(1)//"
458 expected: "See: <a href=\"http://x.xx/\">http://x.xx/</a>@\"style=\"color:pink\"onmouseover=alert(1)//"
Something went wrong with that request. Please try again.