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

Description

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:
http://www.smartmontools.org/timeline?from=2011-10-20T19%3A20%3A23Z&precision=second

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
 https://www.smartmontools.org/admin/ticket/milestones
links to
 https://www.smartmontools.org/admin/ticket/milestones/Release%206.3
which results in:
 Milestone Release%206.3 does not exist.

At
  https://www.smartmontools.org/roadmap
this link
  https://www.smartmontools.org/milestone/Release%206.3
results in
  Create New Milestone

Known Trac Regression?

Thanks,
Christian

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.