[wp-trac] [WordPress Trac] #56231: WP_Http::make_absolute_url drops fragments

WordPress Trac noreply at wordpress.org
Tue Feb 21 01:48:12 UTC 2023


#56231: WP_Http::make_absolute_url drops fragments
-------------------------------------------------+-------------------------
 Reporter:  dshanske                             |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  HTTP API                             |     Version:  3.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback commit needs-dev-note                 |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55370" 55370]:
 {{{
 #!CommitTicketReference repository="" revision="55370"
 HTTP API: Add fragment support to `WP_Http::make_absolute_url()`.

 Modifies `WP_Http::make_absolute_url()` to prevent it from dropping URL
 fragments, this in turn fixes the same issue for `links_add_base_url()`.

 Props costdev, sergeybiryukov, dshanske, schlessera, jrf, desrosj, dd32.
 Fixes #56231.
 }}}

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


More information about the wp-trac mailing list