1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-29 20:29:22 +02:00

Merge pull request from s9e/ticket/9073

[ticket/9073] Word censoring in URLs

* s9e/ticket/9073:
  [ticket/9073] Added regression test
This commit is contained in:
Andreas Fischer 2015-05-07 15:52:00 +02:00
commit 25f3fdebfd
3 changed files with 18 additions and 0 deletions
tests/text_processing/tickets_data

@ -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>

@ -0,0 +1,2 @@
http://www.some-ad-site.com/
[url]http://www.some-ad-site.com/[/url]

@ -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>