Index: trunk/phase3/tests/parser/parserTests.txt |
— | — | @@ -1189,6 +1189,29 @@ |
1190 | 1190 | </p> |
1191 | 1191 | !! end |
1192 | 1192 | |
| 1193 | +!! test |
| 1194 | +Brackets in urls |
| 1195 | +!! input |
| 1196 | +http://example.com/index.php?foozoid%5B%5D=bar |
| 1197 | + |
| 1198 | +http://example.com/index.php?foozoid[]=bar |
| 1199 | +!! result |
| 1200 | +<p><a rel="nofollow" class="external free" href="http://example.com/index.php?foozoid%5B%5D=bar">http://example.com/index.php?foozoid%5B%5D=bar</a> |
| 1201 | +</p><p><a rel="nofollow" class="external free" href="http://example.com/index.php?foozoid%5B%5D=bar">http://example.com/index.php?foozoid%5B%5D=bar</a> |
| 1202 | +</p> |
| 1203 | +!! end |
| 1204 | + |
| 1205 | +!! test |
| 1206 | +IPv6 urls (bug 21261) |
| 1207 | +!! options |
| 1208 | +disabled |
| 1209 | +!! input |
| 1210 | +http://[2404:130:0:1000::187:2]/index.php |
| 1211 | +!! result |
| 1212 | +<p><a rel="nofollow" class="external free" href="http://[2404:130:0:1000::187:2]/index.php">http://2404:130:0:1000::187:2/index.php</a> |
| 1213 | +</p> |
| 1214 | +!! end |
| 1215 | + |
1193 | 1216 | ### |
1194 | 1217 | ### Quotes |
1195 | 1218 | ### |