mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:50:17 +00:00
Allow brackets in URLs
- Remove obsolete $URLSearchString variable - Add related tests
This commit is contained in:
parent
38311a4a02
commit
84ccaf50fa
2 changed files with 36 additions and 37 deletions
|
@ -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
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue