Add 'urn' to the list of URI protocols whitelisted by default.

Props geekysoft, jorbin.
Fixes #37300.

git-svn-id: https://develop.svn.wordpress.org/trunk@38686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2016-09-30 13:14:54 +00:00
parent 5273c469d8
commit a245ff9c54
2 changed files with 4 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ class Tests_Functions_AllowedProtocols extends WP_UnitTestCase {
array( 'fax', 'fax:+123.456.78910' ), // RFC2806/RFC3966
array( 'xmpp', 'xmpp://guest@example.com' ), // RFC5122
array( 'webcal', 'webcal://example.com/calendar.ics' ),
array( 'urn', 'urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66' ), // RFC2141
);
}
}