[wp-trac] [WordPress Trac] #41272: Unattached media URLs broken for anything over 1000

WordPress Trac noreply at wordpress.org
Fri Jul 7 23:09:23 UTC 2017


#41272: Unattached media URLs broken for anything over 1000
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 '''Steps to reproduce'''

 1. On your local computer, rename a file to {{{1180.jpg}}}
 2. Upload the file to the Media Library
 3. Visit {{{example.com/1180}}}

 You will get a 404 broken link.

 If you do the same for a 1, 2 or 3 digit filename, you won't see the
 issue.

 {{{
 example.com/31.jpg // Works
 example.com/872.jpg // Works
 }}}

 The problem isn't just related to images.

 {{{
 example.com/1871.mp3 // 404
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41272>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list