mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-29 20:29:22 +02:00
Merge pull request #3573 from s9e/ticket/9073
[ticket/9073] Word censoring in URLs * s9e/ticket/9073: [ticket/9073] Added regression test
This commit is contained in:
commit
25f3fdebfd
tests/text_processing/tickets_data
2
tests/text_processing/tickets_data/PHPBB3-9073.html
Normal file
2
tests/text_processing/tickets_data/PHPBB3-9073.html
Normal file
@ -0,0 +1,2 @@
|
||||
<a href="http://www.xxxx-xx-xxxx.com/" class="postlink">http://www.xxxx-xx-xxxx.com/</a><br>
|
||||
<a href="http://www.xxxx-xx-xxxx.com/" class="postlink">http://www.xxxx-xx-xxxx.com/</a><br>
|
2
tests/text_processing/tickets_data/PHPBB3-9073.txt
Normal file
2
tests/text_processing/tickets_data/PHPBB3-9073.txt
Normal file
@ -0,0 +1,2 @@
|
||||
http://www.some-ad-site.com/
|
||||
[url]http://www.some-ad-site.com/[/url]
|
14
tests/text_processing/tickets_data/PHPBB3-9073.xml
Normal file
14
tests/text_processing/tickets_data/PHPBB3-9073.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<dataset>
|
||||
<table name="phpbb_words">
|
||||
<column>word_id</column>
|
||||
<column>word</column>
|
||||
<column>replacement</column>
|
||||
|
||||
<row>
|
||||
<value>1</value>
|
||||
<value>http://www.some-ad-site.com*</value>
|
||||
<value>http://www.xxxx-xx-xxxx.com</value>
|
||||
</row>
|
||||
</table>
|
||||
</dataset>
|
Loading…
x
Reference in New Issue
Block a user