- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/allowedProtocols.php
r46586 r47122 39 39 function data_example_urls() { 40 40 return array( 41 array( 'http', 'http://example.com' ), // RFC723042 array( 'https', 'https://example.com' ), // RFC723043 array( 'ftp', 'ftp://example.com' ), // RFC173841 array( 'http', 'http://example.com' ), // RFC7230 42 array( 'https', 'https://example.com' ), // RFC7230 43 array( 'ftp', 'ftp://example.com' ), // RFC1738 44 44 array( 'ftps', 'ftps://example.com' ), 45 array( 'mailto', 'mailto://someone@example.com' ), // RFC606846 array( 'news', 'news://news.server.example/example.group.this' ), // RFC553845 array( 'mailto', 'mailto://someone@example.com' ), // RFC6068 46 array( 'news', 'news://news.server.example/example.group.this' ), // RFC5538 47 47 array( 'irc', 'irc://example.com/wordpress' ), 48 48 array( 'gopher', 'gopher://example.com/7a_gopher_selector%09foobar' ), // RFC4266 49 array( 'nntp', 'nntp://news.server.example/example.group.this' ), // RFC553849 array( 'nntp', 'nntp://news.server.example/example.group.this' ), // RFC5538 50 50 array( 'feed', 'feed://example.com/rss.xml' ), 51 array( 'telnet', 'telnet://user:password@example.com:80/' ), // RFC424851 array( 'telnet', 'telnet://user:password@example.com:80/' ), // RFC4248 52 52 array( 'mms', 'mms://example.com:80/path' ), 53 array( 'rtsp', 'rtsp://media.example.com:554/wordpress/audiotrack' ), // RFC232653 array( 'rtsp', 'rtsp://media.example.com:554/wordpress/audiotrack' ), // RFC2326 54 54 array( 'svn', 'svn://core.svn.wordpress.org/' ), 55 array( 'tel', 'tel:+1-234-567-8910' ), // RFC396656 array( 'sms', 'sms:+1-234-567-8910' ), // RFC396657 array( 'fax', 'fax:+123.456.78910' ), // RFC2806/RFC396658 array( 'xmpp', 'xmpp://guest@example.com' ), // RFC512255 array( 'tel', 'tel:+1-234-567-8910' ), // RFC3966 56 array( 'sms', 'sms:+1-234-567-8910' ), // RFC3966 57 array( 'fax', 'fax:+123.456.78910' ), // RFC2806/RFC3966 58 array( 'xmpp', 'xmpp://guest@example.com' ), // RFC5122 59 59 array( 'webcal', 'webcal://example.com/calendar.ics' ), 60 array( 'urn', 'urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66' ), // RFC214160 array( 'urn', 'urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66' ), // RFC2141 61 61 ); 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.