[wp-meta] [Making WordPress.org] #3761: Wrong encoding for spaces in "Tickets by Component" dropdown

Making WordPress.org noreply at wordpress.org
Sat Aug 11 13:06:01 UTC 2018


#3761: Wrong encoding for spaces in "Tickets by Component" dropdown
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Trac            |   Keywords:
----------------------------+--------------------
 1. Go to https://make.wordpress.org/core/reports/.
 2. Under "Tickets by Component", select any component with spaces in the
 name, e.g. "Networks and Sites".
 3. You'll end up on
 https://core.trac.wordpress.org/component/Networks+and+Sites, which does
 not list any tickets.

 The working URL is
 https://core.trac.wordpress.org/component/Networks%20and%20Sites, note
 `%20` vs. `+`.

 The code in question is in the
 [source:sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-
 notifications/trac-components.php?marks=641#L614 trac-notifications]
 plugin.

 `str_replace( ' ', '+', $component )` was added in [903].

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3761>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list