WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22549


Ignore:
Timestamp:
11/23/12 00:19:17 (17 months ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22549 – Description

    initial v1  
    11When you go to embed an external URL via the 'Embed From URL' tab in the new media modal, the URL is inserted as-is. 
    22 
    3 The user in [http://make.wordpress.org/ui/2012/11/14/to-change-things-up-i-tested-a-different/ this recent user interaction test by lessbloat] pasted a URL into this box without overwriting the 'http://' placeholder and ended up with a mangled URL. Before inserting it into the post the URL should be sanitized via an AJAX call that runs it through `esc_url_raw()`. 
     3The user in [http://make.wordpress.org/ui/2012/11/14/to-change-things-up-i-tested-a-different/ this recent user interaction test by lessbloat] pasted a URL into this box without overwriting the '`http://`' placeholder and ended up with a mangled URL. Before inserting it into the post the URL should be sanitized via an AJAX call that runs it through `esc_url_raw()`. 
    44 
    55Related: #22548