[wp-trac] [WordPress Trac] #54261: KSES: Allow PDFs to be embeded as objects

WordPress Trac noreply at wordpress.org
Fri Dec 3 02:42:31 UTC 2021


#54261: KSES: Allow PDFs to be embeded as objects
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:  pento
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.9
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:
  has-unit-tests needs-dev-note                  |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 In [changeset:"52309" 52309]:
 {{{
 #!CommitTicketReference repository="" revision="52309"
 KSES: Accept port number in PDF upload paths.

 Improves the URL validation in `_wp_kses_allow_pdf_objects()` to account
 for sites using an upload path that contains a port, for example
 wp.org:8080.

 Follow up to [51963], [52304].

 Props ocean90, ramonopoly, talldanwp.
 See #54261.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54261#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list