mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add ircs and irc6 to the list of allowed protocols.
This adds support for the secure and ipv6 variants of the already allowed irc protocol. Props arealnobrainer, markparnell, ctmartin. git-svn-id: https://develop.svn.wordpress.org/trunk@49055 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -516,6 +516,8 @@ class Test_WP_Customize_Nav_Menu_Item_Setting extends WP_UnitTestCase {
|
||||
'ftps://example.com/',
|
||||
'news://news.server.example/example.group.this',
|
||||
'irc://irc.freenode.net/wordpress',
|
||||
'irc6://irc.freenode.net/wordpress',
|
||||
'ircs://irc.freenode.net/wordpress',
|
||||
'gopher://example.com',
|
||||
'nntp://news.server.example/example.group.this',
|
||||
'feed://example.com/',
|
||||
|
||||
@@ -46,6 +46,8 @@ class Tests_Functions_AllowedProtocols extends WP_UnitTestCase {
|
||||
array( 'mailto', 'mailto://someone@example.com' ), // RFC6068
|
||||
array( 'news', 'news://news.server.example/example.group.this' ), // RFC5538
|
||||
array( 'irc', 'irc://example.com/wordpress' ),
|
||||
array( 'irc6', 'irc6://example.com/wordpress' ),
|
||||
array( 'ircs', 'ircs://example.com/wordpress' ),
|
||||
array( 'gopher', 'gopher://example.com/7a_gopher_selector%09foobar' ), // RFC4266
|
||||
array( 'nntp', 'nntp://news.server.example/example.group.this' ), // RFC5538
|
||||
array( 'feed', 'feed://example.com/rss.xml' ),
|
||||
|
||||
Reference in New Issue
Block a user