Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#335 closed defect (fixed)

WSCGI engine in track works incorrectly with URI containing spaces

Reported by: Alex Samorukov Owned by: Alex Samorukov
Priority: major Milestone:
Component: wiki Version:
Keywords: trac Cc: Christian Franke


I found that urls containing spaces are not handled correnctly by trac. Most likely its about the escaping in nginx.

Sample URL is provided below:

Change History (6)

comment:1 Changed 6 years ago by Alex Samorukov

Owner: set to Alex Samorukov
Status: newassigned

comment:2 Changed 5 years ago by Alex Samorukov

From Chrisitian:

Hi Alex,

existing milestones cannot be edited in new Trac.

A click on a milestone at
links to
which results in:
 Milestone Release%206.3 does not exist.

this link
results in
  Create New Milestone

Known Trac Regression?


comment:3 Changed 5 years ago by Alex Samorukov

What needs to be done:

  • i should try to use trac locally in fastcgi mode with recent apache to find if this bug is related to the FastCGI clients in general or only applies to the nginx.
  • Provide workaround to unescape all get requests.
  • submit it back to the track community.

comment:4 Changed 5 years ago by Christian Franke

Cc: Christian Franke added

comment:5 Changed 5 years ago by Alex Samorukov

Resolution: fixed
Status: assignedclosed

Issue is fixed. It was related to the nginx/fastcgi configuration, so no trac code changes were needed.

comment:6 Changed 5 years ago by Christian Franke

Update of Milestones now works. Thanks!

Note: See TracTickets for help on using tickets.