Allow brackets in URLs

- Remove obsolete $URLSearchString variable
- Add related tests
This commit is contained in:
Hypolite Petovan 2019-06-15 22:26:29 -04:00
parent 38311a4a02
commit 84ccaf50fa
2 changed files with 36 additions and 37 deletions

View file

@ -113,6 +113,14 @@ class BBCodeTest extends MockedTest
'data' => html_entity_decode('http://example.com ', ENT_QUOTES, 'UTF-8'),
'assertHTML' => false
],
'bug-7271-query-string-brackets' => [
'data' => 'https://example.com/search?q=square+brackets+[url]',
'assertHTML' => true
],
'bug-7271-path-brackets' => [
'data' => 'http://example.com/path/to/file[3].html',
'assertHTML' => true
],
];
}