]> git.wh0rd.org - tt-rss.git/commitdiff
sanitize: allow <xml:namespace> (thanks, livejournal)
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Fri, 5 Feb 2016 08:31:13 +0000 (11:31 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Fri, 5 Feb 2016 08:31:13 +0000 (11:31 +0300)
include/functions2.php

index 15797a95db12ba6de78ecc79f52c48a1e86ca532..7c714f564354ed14eab18ed543cf3010a89fd365 100755 (executable)
                        'ol', 'p', 'pre', 'q', 'ruby', 'rp', 'rt', 's', 'samp', 'section',
                        'small', 'source', 'span', 'strike', 'strong', 'sub', 'summary',
                        'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'time',
                        'ol', 'p', 'pre', 'q', 'ruby', 'rp', 'rt', 's', 'samp', 'section',
                        'small', 'source', 'span', 'strike', 'strong', 'sub', 'summary',
                        'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'time',
-                       'tr', 'track', 'tt', 'u', 'ul', 'var', 'wbr', 'video' );
+                       'tr', 'track', 'tt', 'u', 'ul', 'var', 'wbr', 'video', 'xml:namespace' );
 
                if ($_SESSION['hasSandbox']) $allowed_elements[] = 'iframe';
 
 
                if ($_SESSION['hasSandbox']) $allowed_elements[] = 'iframe';