[wp-trac] [WordPress Trac] #34831: WP oEmbed: Validate the "Secret" When Used in `document.querySelectorAll()`
WordPress Trac
noreply at wordpress.org
Thu Dec 3 16:59:20 UTC 2015
#34831: WP oEmbed: Validate the "Secret" When Used in `document.querySelectorAll()`
------------------------------+-------------------------
Reporter: mdawaffe | Owner: pento
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Embeds | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: javascript
------------------------------+-------------------------
Comment (by pento):
Is `/[^a-zA-Z0-9]/.test( data.secret )` or `data.secret.match(
/[^a-zA-Z0-9]/ )` better?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34831#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list