mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
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:
@@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user