[wp-trac] [WordPress Trac] #30377: wp_check_filetype is broken when checking urls with parameters

WordPress Trac noreply at wordpress.org
Mon Oct 26 17:45:48 UTC 2015


#30377: wp_check_filetype is broken when checking urls with parameters
-------------------------------------------------+-------------------------
 Reporter:  supercleanse                         |       Owner:
     Type:  enhancement                          |  johnbillion
 Priority:  normal                               |      Status:  reviewing
Component:  Media                                |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  needs-testing needs-unit-tests       |     Version:  4.0
  needs-refresh                                  |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by supercleanse):

 Yeah, our use case is for AWS urls as well ... but ours are expiring links
 so they include a question mark followed by a bunch of random characters.

 Here is a real link we'd use ... it may not actually work because it's an
 expiring link but this will give you an idea of the type of URL that can
 be passed to this function:


 {{{
 https://wordup.s3.amazonaws.com/4992_IMG_8521_converted.mp4?AWSAccessKeyId=1D10DF3V7M34NWTQNBG2&Expires=1445884947&Signature=Mp8PDvQHYZJP69hdAFNgAr11X00%3D&_=1
 }}}

 Thanks

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


More information about the wp-trac mailing list