[wp-trac] [WordPress Trac] #39679: Redirect loop on attachment pages

WordPress Trac noreply at wordpress.org
Mon Sep 18 21:44:32 UTC 2017


#39679: Redirect loop on attachment pages
--------------------------+------------------------------
 Reporter:  OPunWide      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.7.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by OPunWide):

 It seems very odd that something like that would only happen in this one
 case, and that it only happens with some URL case variations.

 Perhaps having any uppercase in anything after the hostname kicks off some
 sort of correction code that isn't seen if its only in the host name.

 Yes, I prefer mixed case domains because it makes the words decipherable.


 Replying to [comment:5 geekysoft]:
 > @OPunWide, somewhere in either WordPress or your server setting, you‘ve
 inadvertently used upper case characters in your domain
 (YourFriendPaul.com should be yourfriendpaul.com everywhere.) From your
 server headers, it looks like it’s somewhere in WordPress’ configuration.
 (The following header is produced by WordPress.)
 >
 >     Location: http://YourFriendPaul.com/wp/the-illusion-of-control.html
 /placebo-like-icon
 >
 > The infinite redirects here are caused by a WordPress bug when comparing
 an upper-case domain to a lower-case domain. I’m trying to narrow down
 exactly where this comparison takes place.

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


More information about the wp-trac mailing list