Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
alain
Make it Open Project Site
Commits
a86f70f0
Commit
a86f70f0
authored
Mar 17, 2021
by
alain
🐙
Browse files
use plugin for svg (functions method didn't work for me)
parent
93d7a7aa
Changes
91
Expand all
Hide whitespace changes
Inline
Side-by-side
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/hrefCleanTwo.svg
0 → 100644
View file @
a86f70f0
<svg
xmlns=
"http://www.w3.org/2000/svg"
height=
"600px"
id=
"Layer_1"
width=
"600px"
x=
"0px"
y=
"0px"
xml:space=
"preserve"
>
<a>
test 1
</a>
<a>
test 2
</a>
<a
href=
"#test3"
>
test 3
</a>
<a
xlink:href=
"#test"
>
test 4
</a>
<a>
test 5
</a>
<a>
test 6
</a>
<a>
test 7
</a>
<a>
test 8
</a>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/hrefTestOne.svg
0 → 100644
View file @
a86f70f0
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
height=
"600px"
id=
"Layer_1"
width=
"600px"
x=
"0px"
y=
"0px"
xml:space=
"preserve"
>
<a
href=
"javascript:alert(2)"
>
test 1
</a>
<a
xlink:href=
"javascript:alert(2)"
>
test 2
</a>
<a
href=
"#test3"
>
test 3
</a>
<a
xlink:href=
"#test"
>
test 4
</a>
<a
href=
"data:data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' onload='alert(88)'%3E%3C/svg%3E"
>
test 5
</a>
<a
xlink:href=
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' onload='alert(88)'%3E%3C/svg%3E"
>
test 6
</a>
<a
href=
"javascript	:alert(document.domain)"
>
test 7
</a>
<a
href=
"javascrip	t:alert('0xd0ff9')"
>
test 8
</a>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/hrefTestTwo.svg
0 → 100644
View file @
a86f70f0
<svg
xmlns=
"http://www.w3.org/2000/svg"
height=
"600px"
id=
"Layer_1"
width=
"600px"
x=
"0px"
y=
"0px"
xml:space=
"preserve"
>
<a
href=
"javascript:alert(2)"
>
test 1
</a>
<a
xlink:href=
"javascript:alert(2)"
>
test 2
</a>
<a
href=
"#test3"
>
test 3
</a>
<a
xlink:href=
"#test"
>
test 4
</a>
<a
href=
"data:data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' onload='alert(88)'%3E%3C/svg%3E"
>
test 5
</a>
<a
xlink:href=
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' onload='alert(88)'%3E%3C/svg%3E"
>
test 6
</a>
<a
href=
"javascript	:alert(document.domain)"
>
test 7
</a>
<a
href=
"javascrip	t:alert('0xd0ff9')"
>
test 8
</a>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/svgCleanOne.svg
0 → 100644
View file @
a86f70f0
<?xml version="1.0" encoding="utf-8"?>
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
id=
"Layer_1"
version=
"1.1"
x=
"0px"
y=
"0px"
width=
"600px"
height=
"600px"
viewBox=
"0 0 600 600"
xml:space=
"preserve"
>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"119"
y1=
"84.5"
x2=
"454"
y2=
"84.5"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"111.212"
y1=
"102.852"
x2=
"112.032"
y2=
"476.623"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"198.917"
y1=
"510.229"
x2=
"486.622"
y2=
"501.213"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"484.163"
y1=
"442.196"
x2=
"89.901"
y2=
"60.229"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"101.376"
y1=
"478.262"
x2=
"443.18"
y2=
"75.803"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"457.114"
y1=
"126.623"
x2=
"458.753"
y2=
"363.508"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"541.54"
y1=
"299.573"
x2=
"543.179"
y2=
"536.458"
/>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/svgCleanOneMinified.svg
0 → 100644
View file @
a86f70f0
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
id=
"Layer_1"
x=
"0px"
y=
"0px"
width=
"600px"
height=
"600px"
viewBox=
"0 0 600 600"
version=
"1.1"
xml:space=
"preserve"
>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"119"
y1=
"84.5"
x2=
"454"
y2=
"84.5"
></line>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"111.212"
y1=
"102.852"
x2=
"112.032"
y2=
"476.623"
></line>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"198.917"
y1=
"510.229"
x2=
"486.622"
y2=
"501.213"
></line>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"484.163"
y1=
"442.196"
x2=
"89.901"
y2=
"60.229"
></line>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"101.376"
y1=
"478.262"
x2=
"443.18"
y2=
"75.803"
></line>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"457.114"
y1=
"126.623"
x2=
"458.753"
y2=
"363.508"
></line>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"541.54"
y1=
"299.573"
x2=
"543.179"
y2=
"536.458"
></line>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/svgTestOne.svg
0 → 100644
View file @
a86f70f0
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
version=
"1.1"
id=
"Layer_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"600px"
height=
"600px"
viewBox=
"0 0 600 600"
enable-background=
"new 0 0 600 600"
xml:space=
"preserve"
>
<line
onload=
"alert(2)"
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"119"
y1=
"84.5"
x2=
"454"
y2=
"84.5"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"111.212"
y1=
"102.852"
x2=
"112.032"
y2=
"476.623"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"198.917"
y1=
"510.229"
x2=
"486.622"
y2=
"501.213"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"484.163"
y1=
"442.196"
x2=
"89.901"
y2=
"60.229"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"101.376"
y1=
"478.262"
x2=
"443.18"
y2=
"75.803"
/>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"457.114"
y1=
"126.623"
x2=
"458.753"
y2=
"363.508"
/>
<this>
shouldn't be here
</this>
<script>
alert(1);
</script>
<line
fill=
"none"
stroke=
"#000000"
stroke-miterlimit=
"10"
x1=
"541.54"
y1=
"299.573"
x2=
"543.179"
y2=
"536.458"
/>
</svg>
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/useClean.svg
0 → 100644
View file @
a86f70f0
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
viewBox=
"0 0 68 65"
>
<use
xlink:href=
"#a"
x=
"28"
fill=
"#1A374D"
/>
<path
id=
"a"
d=
"M14 27v-20c0-3.7-3.3-7-7-7s-7 3.3-7 7v41c0 8.2 9.2 17 20 17s20-9.2 20-20c0-13.3-13.4-21.8-26-18zm6 25c-4 0-7-3-7-7s3-7 7-7 7 3 7 7-3 7-7 7z"
/>
<use
/>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/useDosClean.svg
0 → 100644
View file @
a86f70f0
<?xml version="1.0" encoding="UTF-8"?>
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
viewBox=
"0 0 10 10"
>
<defs>
<g
id=
"thing"
>
<g
id=
"t0a"
></g>
<g
id=
"t0b"
></g>
<g
id=
"t1a"
></g>
<g
id=
"t1b"
></g>
<g
id=
"t2a"
></g>
<g
id=
"t2b"
></g>
<g
id=
"t3a"
></g>
<g
id=
"t3b"
></g>
<g
id=
"t4a"
></g>
<g
id=
"t4b"
></g>
<g
id=
"t5a"
></g>
<g
id=
"t5b"
></g>
<g
id=
"t6a"
></g>
<g
id=
"t6b"
></g>
<g
id=
"t7a"
></g>
<g
id=
"t7b"
></g>
<g
id=
"t8a"
></g>
<g
id=
"t8b"
></g>
<g
id=
"t9a"
></g>
<g
id=
"t9b"
></g>
<g
id=
"t10a"
></g>
<g
id=
"t10b"
></g>
<g
id=
"t11a"
></g>
<g
id=
"t11b"
></g>
<g
id=
"t12a"
></g>
<g
id=
"t12b"
></g>
<g
id=
"t13a"
></g>
<g
id=
"t13b"
></g>
<g
id=
"t14a"
></g>
<g
id=
"t14b"
></g>
<g
id=
"t15a"
></g>
<g
id=
"t15b"
></g>
<g
id=
"t16a"
></g>
<g
id=
"t16b"
></g>
<g
id=
"t17a"
></g>
<g
id=
"t17b"
></g>
<g
id=
"t18a"
></g>
<g
id=
"t18b"
></g>
<g
id=
"t19a"
></g>
<g
id=
"t19b"
></g>
<g
id=
"t20a"
></g>
<g
id=
"t20b"
></g>
<g
id=
"t21a"
></g>
<g
id=
"t21b"
></g>
<g
id=
"t22a"
></g>
<g
id=
"t22b"
></g>
<g
id=
"t23a"
></g>
<g
id=
"t23b"
></g>
<g
id=
"t24a"
></g>
<g
id=
"t24b"
></g>
<g
id=
"t25a"
></g>
<g
id=
"t25b"
></g>
<g
id=
"t26a"
></g>
<g
id=
"t26b"
></g>
<g
id=
"t27a"
></g>
<g
id=
"t27b"
></g>
<g
id=
"t28a"
></g>
<g
id=
"t28b"
></g>
<g
id=
"t29a"
></g>
<g
id=
"t29b"
></g>
<g
id=
"t30a"
></g>
<g
id=
"t30b"
></g>
<g
id=
"t31a"
></g>
<g
id=
"t31b"
></g>
<g
id=
"t32a"
></g>
<g
id=
"t32b"
></g>
<g
id=
"t33a"
></g>
<g
id=
"t33b"
></g>
<g
id=
"t34a"
></g>
<g
id=
"t34b"
></g>
<g
id=
"t35a"
></g>
<g
id=
"t35b"
></g>
<g
id=
"t36a"
></g>
<g
id=
"t36b"
></g>
<g
id=
"t37a"
></g>
<g
id=
"t37b"
></g>
<g
id=
"t38a"
></g>
<g
id=
"t38b"
></g>
<g
id=
"t39a"
></g>
<g
id=
"t39b"
></g>
<g
id=
"t40a"
></g>
<g
id=
"t40b"
></g>
<g
id=
"t41a"
></g>
<g
id=
"t41b"
></g>
<g
id=
"t42a"
></g>
<g
id=
"t42b"
></g>
<g
id=
"t43a"
></g>
<g
id=
"t43b"
></g>
<g
id=
"t44a"
></g>
<g
id=
"t44b"
></g>
<g
id=
"t45a"
></g>
<g
id=
"t45b"
></g>
<g
id=
"t46a"
></g>
<g
id=
"t46b"
></g>
<g
id=
"t47a"
></g>
<g
id=
"t47b"
></g>
<g
id=
"t48a"
></g>
<g
id=
"t48b"
></g>
<g
id=
"t49a"
></g>
<g
id=
"t49b"
></g>
<g
id=
"t50a"
>
<circle
cx=
"0"
cy=
"0"
r=
"5"
></circle>
</g>
<g
id=
"t50b"
>
<circle
cx=
"0"
cy=
"0"
r=
"5"
></circle>
</g>
</g>
</defs>
</svg>
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/useDosCleanTwo.svg
0 → 100644
View file @
a86f70f0
This diff is collapsed.
Click to expand it.
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/useDosTest.svg
0 → 100644
View file @
a86f70f0
<svg
viewBox=
"0 0 10 10"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<defs>
<g
id=
"thing"
>
<g
id=
"t0a"
><use
xlink:href=
"#t1a"
/><use
xlink:href=
"#t1b"
/></g>
<g
id=
"t0b"
><use
xlink:href=
"#t1a"
/><use
xlink:href=
"#t1b"
/></g>
<g
id=
"t1a"
><use
xlink:href=
"#t2a"
/><use
xlink:href=
"#t2b"
/></g>
<g
id=
"t1b"
><use
xlink:href=
"#t2a"
/><use
xlink:href=
"#t2b"
/></g>
<g
id=
"t2a"
><use
xlink:href=
"#t3a"
/><use
xlink:href=
"#t3b"
/></g>
<g
id=
"t2b"
><use
xlink:href=
"#t3a"
/><use
xlink:href=
"#t3b"
/></g>
<g
id=
"t3a"
><use
xlink:href=
"#t4a"
/><use
xlink:href=
"#t4b"
/></g>
<g
id=
"t3b"
><use
xlink:href=
"#t4a"
/><use
xlink:href=
"#t4b"
/></g>
<g
id=
"t4a"
><use
xlink:href=
"#t5a"
/><use
xlink:href=
"#t5b"
/></g>
<g
id=
"t4b"
><use
xlink:href=
"#t5a"
/><use
xlink:href=
"#t5b"
/></g>
<g
id=
"t5a"
><use
xlink:href=
"#t6a"
/><use
xlink:href=
"#t6b"
/></g>
<g
id=
"t5b"
><use
xlink:href=
"#t6a"
/><use
xlink:href=
"#t6b"
/></g>
<g
id=
"t6a"
><use
xlink:href=
"#t7a"
/><use
xlink:href=
"#t7b"
/></g>
<g
id=
"t6b"
><use
xlink:href=
"#t7a"
/><use
xlink:href=
"#t7b"
/></g>
<g
id=
"t7a"
><use
xlink:href=
"#t8a"
/><use
xlink:href=
"#t8b"
/></g>
<g
id=
"t7b"
><use
xlink:href=
"#t8a"
/><use
xlink:href=
"#t8b"
/></g>
<g
id=
"t8a"
><use
xlink:href=
"#t9a"
/><use
xlink:href=
"#t9b"
/></g>
<g
id=
"t8b"
><use
xlink:href=
"#t9a"
/><use
xlink:href=
"#t9b"
/></g>
<g
id=
"t9a"
><use
xlink:href=
"#t10a"
/><use
xlink:href=
"#t10b"
/></g>
<g
id=
"t9b"
><use
xlink:href=
"#t10a"
/><use
xlink:href=
"#t10b"
/></g>
<g
id=
"t10a"
><use
xlink:href=
"#t11a"
/><use
xlink:href=
"#t11b"
/></g>
<g
id=
"t10b"
><use
xlink:href=
"#t11a"
/><use
xlink:href=
"#t11b"
/></g>
<g
id=
"t11a"
><use
xlink:href=
"#t12a"
/><use
xlink:href=
"#t12b"
/></g>
<g
id=
"t11b"
><use
xlink:href=
"#t12a"
/><use
xlink:href=
"#t12b"
/></g>
<g
id=
"t12a"
><use
xlink:href=
"#t13a"
/><use
xlink:href=
"#t13b"
/></g>
<g
id=
"t12b"
><use
xlink:href=
"#t13a"
/><use
xlink:href=
"#t13b"
/></g>
<g
id=
"t13a"
><use
xlink:href=
"#t14a"
/><use
xlink:href=
"#t14b"
/></g>
<g
id=
"t13b"
><use
xlink:href=
"#t14a"
/><use
xlink:href=
"#t14b"
/></g>
<g
id=
"t14a"
><use
xlink:href=
"#t15a"
/><use
xlink:href=
"#t15b"
/></g>
<g
id=
"t14b"
><use
xlink:href=
"#t15a"
/><use
xlink:href=
"#t15b"
/></g>
<g
id=
"t15a"
><use
xlink:href=
"#t16a"
/><use
xlink:href=
"#t16b"
/></g>
<g
id=
"t15b"
><use
xlink:href=
"#t16a"
/><use
xlink:href=
"#t16b"
/></g>
<g
id=
"t16a"
><use
xlink:href=
"#t17a"
/><use
xlink:href=
"#t17b"
/></g>
<g
id=
"t16b"
><use
xlink:href=
"#t17a"
/><use
xlink:href=
"#t17b"
/></g>
<g
id=
"t17a"
><use
xlink:href=
"#t18a"
/><use
xlink:href=
"#t18b"
/></g>
<g
id=
"t17b"
><use
xlink:href=
"#t18a"
/><use
xlink:href=
"#t18b"
/></g>
<g
id=
"t18a"
><use
xlink:href=
"#t19a"
/><use
xlink:href=
"#t19b"
/></g>
<g
id=
"t18b"
><use
xlink:href=
"#t19a"
/><use
xlink:href=
"#t19b"
/></g>
<g
id=
"t19a"
><use
xlink:href=
"#t20a"
/><use
xlink:href=
"#t20b"
/></g>
<g
id=
"t19b"
><use
xlink:href=
"#t20a"
/><use
xlink:href=
"#t20b"
/></g>
<g
id=
"t20a"
><use
xlink:href=
"#t21a"
/><use
xlink:href=
"#t21b"
/></g>
<g
id=
"t20b"
><use
xlink:href=
"#t21a"
/><use
xlink:href=
"#t21b"
/></g>
<g
id=
"t21a"
><use
xlink:href=
"#t22a"
/><use
xlink:href=
"#t22b"
/></g>
<g
id=
"t21b"
><use
xlink:href=
"#t22a"
/><use
xlink:href=
"#t22b"
/></g>
<g
id=
"t22a"
><use
xlink:href=
"#t23a"
/><use
xlink:href=
"#t23b"
/></g>
<g
id=
"t22b"
><use
xlink:href=
"#t23a"
/><use
xlink:href=
"#t23b"
/></g>
<g
id=
"t23a"
><use
xlink:href=
"#t24a"
/><use
xlink:href=
"#t24b"
/></g>
<g
id=
"t23b"
><use
xlink:href=
"#t24a"
/><use
xlink:href=
"#t24b"
/></g>
<g
id=
"t24a"
><use
xlink:href=
"#t25a"
/><use
xlink:href=
"#t25b"
/></g>
<g
id=
"t24b"
><use
xlink:href=
"#t25a"
/><use
xlink:href=
"#t25b"
/></g>
<g
id=
"t25a"
><use
xlink:href=
"#t26a"
/><use
xlink:href=
"#t26b"
/></g>
<g
id=
"t25b"
><use
xlink:href=
"#t26a"
/><use
xlink:href=
"#t26b"
/></g>
<g
id=
"t26a"
><use
xlink:href=
"#t27a"
/><use
xlink:href=
"#t27b"
/></g>
<g
id=
"t26b"
><use
xlink:href=
"#t27a"
/><use
xlink:href=
"#t27b"
/></g>
<g
id=
"t27a"
><use
xlink:href=
"#t28a"
/><use
xlink:href=
"#t28b"
/></g>
<g
id=
"t27b"
><use
xlink:href=
"#t28a"
/><use
xlink:href=
"#t28b"
/></g>
<g
id=
"t28a"
><use
xlink:href=
"#t29a"
/><use
xlink:href=
"#t29b"
/></g>
<g
id=
"t28b"
><use
xlink:href=
"#t29a"
/><use
xlink:href=
"#t29b"
/></g>
<g
id=
"t29a"
><use
xlink:href=
"#t30a"
/><use
xlink:href=
"#t30b"
/></g>
<g
id=
"t29b"
><use
xlink:href=
"#t30a"
/><use
xlink:href=
"#t30b"
/></g>
<g
id=
"t30a"
><use
xlink:href=
"#t31a"
/><use
xlink:href=
"#t31b"
/></g>
<g
id=
"t30b"
><use
xlink:href=
"#t31a"
/><use
xlink:href=
"#t31b"
/></g>
<g
id=
"t31a"
><use
xlink:href=
"#t32a"
/><use
xlink:href=
"#t32b"
/></g>
<g
id=
"t31b"
><use
xlink:href=
"#t32a"
/><use
xlink:href=
"#t32b"
/></g>
<g
id=
"t32a"
><use
xlink:href=
"#t33a"
/><use
xlink:href=
"#t33b"
/></g>
<g
id=
"t32b"
><use
xlink:href=
"#t33a"
/><use
xlink:href=
"#t33b"
/></g>
<g
id=
"t33a"
><use
xlink:href=
"#t34a"
/><use
xlink:href=
"#t34b"
/></g>
<g
id=
"t33b"
><use
xlink:href=
"#t34a"
/><use
xlink:href=
"#t34b"
/></g>
<g
id=
"t34a"
><use
xlink:href=
"#t35a"
/><use
xlink:href=
"#t35b"
/></g>
<g
id=
"t34b"
><use
xlink:href=
"#t35a"
/><use
xlink:href=
"#t35b"
/></g>
<g
id=
"t35a"
><use
xlink:href=
"#t36a"
/><use
xlink:href=
"#t36b"
/></g>
<g
id=
"t35b"
><use
xlink:href=
"#t36a"
/><use
xlink:href=
"#t36b"
/></g>
<g
id=
"t36a"
><use
xlink:href=
"#t37a"
/><use
xlink:href=
"#t37b"
/></g>
<g
id=
"t36b"
><use
xlink:href=
"#t37a"
/><use
xlink:href=
"#t37b"
/></g>
<g
id=
"t37a"
><use
xlink:href=
"#t38a"
/><use
xlink:href=
"#t38b"
/></g>
<g
id=
"t37b"
><use
xlink:href=
"#t38a"
/><use
xlink:href=
"#t38b"
/></g>
<g
id=
"t38a"
><use
xlink:href=
"#t39a"
/><use
xlink:href=
"#t39b"
/></g>
<g
id=
"t38b"
><use
xlink:href=
"#t39a"
/><use
xlink:href=
"#t39b"
/></g>
<g
id=
"t39a"
><use
xlink:href=
"#t40a"
/><use
xlink:href=
"#t40b"
/></g>
<g
id=
"t39b"
><use
xlink:href=
"#t40a"
/><use
xlink:href=
"#t40b"
/></g>
<g
id=
"t40a"
><use
xlink:href=
"#t41a"
/><use
xlink:href=
"#t41b"
/></g>
<g
id=
"t40b"
><use
xlink:href=
"#t41a"
/><use
xlink:href=
"#t41b"
/></g>
<g
id=
"t41a"
><use
xlink:href=
"#t42a"
/><use
xlink:href=
"#t42b"
/></g>
<g
id=
"t41b"
><use
xlink:href=
"#t42a"
/><use
xlink:href=
"#t42b"
/></g>
<g
id=
"t42a"
><use
xlink:href=
"#t43a"
/><use
xlink:href=
"#t43b"
/></g>
<g
id=
"t42b"
><use
xlink:href=
"#t43a"
/><use
xlink:href=
"#t43b"
/></g>
<g
id=
"t43a"
><use
xlink:href=
"#t44a"
/><use
xlink:href=
"#t44b"
/></g>
<g
id=
"t43b"
><use
xlink:href=
"#t44a"
/><use
xlink:href=
"#t44b"
/></g>
<g
id=
"t44a"
><use
xlink:href=
"#t45a"
/><use
xlink:href=
"#t45b"
/></g>
<g
id=
"t44b"
><use
xlink:href=
"#t45a"
/><use
xlink:href=
"#t45b"
/></g>
<g
id=
"t45a"
><use
xlink:href=
"#t46a"
/><use
xlink:href=
"#t46b"
/></g>
<g
id=
"t45b"
><use
xlink:href=
"#t46a"
/><use
xlink:href=
"#t46b"
/></g>
<g
id=
"t46a"
><use
xlink:href=
"#t47a"
/><use
xlink:href=
"#t47b"
/></g>
<g
id=
"t46b"
><use
xlink:href=
"#t47a"
/><use
xlink:href=
"#t47b"
/></g>
<g
id=
"t47a"
><use
xlink:href=
"#t48a"
/><use
xlink:href=
"#t48b"
/></g>
<g
id=
"t47b"
><use
xlink:href=
"#t48a"
/><use
xlink:href=
"#t48b"
/></g>
<g
id=
"t48a"
><use
xlink:href=
"#t49a"
/><use
xlink:href=
"#t49b"
/></g>
<g
id=
"t48b"
><use
xlink:href=
"#t49a"
/><use
xlink:href=
"#t49b"
/></g>
<g
id=
"t49a"
><use
xlink:href=
"#t50a"
/><use
xlink:href=
"#t50b"
/></g>
<g
id=
"t49b"
><use
xlink:href=
"#t50a"
/><use
xlink:href=
"#t50b"
/></g>
<g
id=
"t50a"
>
<circle
cx=
"0"
cy=
"0"
r=
"5"
/>
</g>
<g
id=
"t50b"
>
<circle
cx=
"0"
cy=
"0"
r=
"5"
/>
</g>
</g>
</defs>
<use
x=
"5"
y=
"5"
xlink:href=
"#thing"
/>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/useDosTestTwo.svg
0 → 100644
View file @
a86f70f0
This diff is collapsed.
Click to expand it.
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/useTest.svg
0 → 100644
View file @
a86f70f0
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
viewBox=
"0 0 68 65"
>
<use
xlink:href=
"#a"
x=
"28"
fill=
"#1A374D"
/>
<path
id=
"a"
d=
"M14 27v-20c0-3.7-3.3-7-7-7s-7 3.3-7 7v41c0 8.2 9.2 17 20 17s20-9.2 20-20c0-13.3-13.4-21.8-26-18zm6 25c-4 0-7-3-7-7s3-7 7-7 7 3 7 7-3 7-7 7z"
/>
<use
xlink:href=
"defs.svg#icon-1"
/>
</svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/xlinkLaughsClean.svg
0 → 100644
View file @
a86f70f0
<?xml version="1.0" standalone="no"?>
<svg
viewBox=
"0 0 512 512"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"512"
height=
"512"
version=
"1.1"
>
<defs>
<g
id=
"a0"
>
<circle
stroke=
"#000000"
fill=
"#ffffff"
fill-opacity=
"0.1"
r=
"10"
/>
</g>
</defs><defs>
<g
id=
"a1"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a0"
/>
</g>
</defs>
<defs>
<g
id=
"a2"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a1"
/>
</g>
</defs>
<defs>
<g
id=
"a3"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a2"
/>
</g>
</defs>
<defs>
<g
id=
"a4"
/>
</defs>
<defs>
<g
id=
"a5"
/>
</defs>
<defs>
<g
id=
"a6"
/>
</defs>
<defs>
<g
id=
"a7"
/>
</defs>
<defs>
<g
id=
"a8"
/>
</defs>
<defs>
<g
id=
"a9"
/>
</defs>
<defs>
<g
id=
"a10"
/>
</defs></svg>
\ No newline at end of file
wordpress/wp-content/plugins/safe-svg/lib/vendor/enshrined/svg-sanitize/tests/data/xlinkLaughsTest.svg
0 → 100644
View file @
a86f70f0
<?xml version="1.0" standalone="no"?>
<svg
viewBox=
"0 0 512 512"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"512"
height=
"512"
>
<defs>
<g
id=
"a0"
>
<circle
stroke=
"#000000"
fill=
"#ffffff"
fill-opacity=
"0.1"
r=
"10"
/>
</g>
</defs><defs>
<g
id=
"a1"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a0"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a0"
/>
</g>
</defs>
<defs>
<g
id=
"a2"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a1"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a1"
/>
</g>
</defs>
<defs>
<g
id=
"a3"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a2"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a2"
/>
</g>
</defs>
<defs>
<g
id=
"a4"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a3"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a3"
/>
</g>
</defs>
<defs>
<g
id=
"a5"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a4"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a4"
/>
</g>
</defs>
<defs>
<g
id=
"a6"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a5"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a5"
/>
</g>
</defs>
<defs>
<g
id=
"a7"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a6"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a6"
/>
</g>
</defs>
<defs>
<g
id=
"a8"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"40"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"50"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"60"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"70"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"80"
y=
"10"
xlink:href=
"#a7"
/>
<use
x=
"90"
y=
"10"
xlink:href=
"#a7"
/>
</g>
</defs>
<defs>
<g
id=
"a9"
>
<use
x=
"0"
y=
"10"
xlink:href=
"#a8"
/>
<use
x=
"10"
y=
"10"
xlink:href=
"#a8"
/>
<use
x=
"20"
y=
"10"
xlink:href=
"#a8"
/>
<use
x=
"30"
y=
"10"
xlink:href=
"#a8"
/>