WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/30/2016 01:14:54 PM (4 years ago)
Author:
ocean90
Message:

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

Props geekysoft, jorbin.
Fixes #37300.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/functions/allowedProtocols.php

    r38685 r38686  
    5757            array( 'xmpp', 'xmpp://guest@example.com' ), // RFC5122
    5858            array( 'webcal', 'webcal://example.com/calendar.ics' ),
     59            array( 'urn', 'urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66' ), // RFC2141
    5960        );
    6061    }
Note: See TracChangeset for help on using the changeset viewer.