aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/fixtures/unsafe_bbcode.xml
blob: 55a2e689b60038e248d942f51e1aafb0f7426f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<dataset>
	<table name="phpbb_bbcodes">
		<column>bbcode_id</column>
		<column>bbcode_tag</column>
		<column>bbcode_helpline</column>
		<column>display_on_posting</column>
		<column>bbcode_match</column>
		<column>bbcode_tpl</column>
		<column>first_pass_match</column>
		<column>first_pass_replace</column>
		<column>second_pass_match</column>
		<column>second_pass_replace</column>

		<row>
			<value>13</value>
			<value>xss=</value>
			<value></value>
			<value>1</value>
			<value>[xss={TEXT1}]{TEXT2}[/xss]</value>
			<value><![CDATA[<a href="{TEXT1}">{TEXT2}</a>]]></value>
			<value><![CDATA[!\[xss\=(.*?)\](.*?)\[/xss\]!ies]]></value>
			<value><![CDATA['[xss='.str_replace(array("\r\n", '\"', '\'', '(', ')'), array("\n", '"', '&#39;', '&#40;', '&#41;'), trim('${1}')).':$uid]'.str_replace(array("\r\n", '\"', '\'', '(', ')'), array("\n", '"', '&#39;', '&#40;', '&#41;'), trim('${2}')).'[/xss:$uid]']]></value>
			<value><![CDATA[!\[xss\=(.*?):$uid\](.*?)\[/xss:$uid\]!s]]></value>
			<value><![CDATA[<a href="${1}">${2}</a>]]></value>
		</row>
	</table>
</dataset>