Opened 6 years ago

Closed 6 years ago

#3761 closed defect (bug) (fixed)

Wrong encoding for spaces in "Tickets by Component" dropdown

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Trac Keywords:


  1. Go to
  2. Under "Tickets by Component", select any component with spaces in the name, e.g. "Networks and Sites".
  3. You'll end up on, which does not list any tickets.

The working URL is, note %20 vs. +.

The code in question is in the trac-notifications plugin.

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

Change History (1)

#1 @dd32
6 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 7664:

Trac Notifications: Properly encode Component names in urls.

H/t SergeyBiryukov.
Fixes #3761.

Note: See TracTickets for help on using tickets.