[wp-trac] [WordPress Trac] #36663: Wordpress 4.5 Query Strings Replacing "." with "_"

WordPress Trac noreply at wordpress.org
Wed Apr 27 16:20:17 UTC 2016


#36663: Wordpress 4.5 Query Strings Replacing "." with "_"
-------------------------------+------------------------------
 Reporter:  michael.bucklin    |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  4.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by michael.bucklin):

 Okay, so i think what is happening is that Wordpress is trying to make
 sure the front page is always redirected to "/". For example, if i had a
 page with the slug 'home', and i then set that page as the front page, i
 would want mysite.com/home/ to redirect to just mysite.com. The problem is
 that this redirect now appears to happen even if /home/ is not on the URL.
 This redirect is what is causing the URL parameters to change, as PHP sees
 all periods as underscores and can't re-add them in the original form.

 I think if this check was fixed so that the redirect only happens if
 /pageslug/ was in the URL, then this issue would go away.

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


More information about the wp-trac mailing list