[wp-trac] [WordPress Trac] #33821: redirect_canonical does not consider port in $compare_original

WordPress Trac noreply at wordpress.org
Thu Jun 12 20:40:31 UTC 2025


#33821: redirect_canonical does not consider port in $compare_original
-------------------------------------------------+-------------------------
 Reporter:  willshouse                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Canonical                            |     Version:  2.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  test-info close                                |
-------------------------------------------------+-------------------------

Comment (by SirLouen):

 Same here, I can't get a clear step by step reproduction instructions
 [https://core.trac.wordpress.org/ticket/33821#comment:20 with the comment]
 from @wojtekn I understand the solution, but can't get like a straight
 path to get the problem

 I can configure whatever you tell me to configure. Throw me some server
 confs if needed. I would like the exact setup with all explicit configs
 possible.

 Sometimes I understand that you find a problem, you go into the code and
 say: "It's clear why is failing". The problem is that ideally it should be
 infinitely and easily replicable, not only for solving the problem, but
 for testing the patches by 3rd parties and more importantly, for
 documentation purposes.

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


More information about the wp-trac mailing list