Ticket #37300: protocol.patch
File protocol.patch, 667 bytes (added by , 8 years ago) |
---|
-
functions.php
4903 4903 static $protocols = array(); 4904 4904 4905 4905 if ( empty( $protocols ) ) { 4906 $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal' );4906 $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal', 'urn' ); 4907 4907 4908 4908 /** 4909 4909 * Filters the list of protocols allowed in HTML attributes.