Opened 10 years ago

Closed 10 years ago

Last modified 10 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 by Alex Samorukov, 10 years ago

Owner: set to Alex Samorukov
Status: newassigned

comment:2 by Alex Samorukov, 10 years ago

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 by Alex Samorukov, 10 years ago

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 by Christian Franke, 10 years ago

Cc: Christian Franke added

comment:5 by Alex Samorukov, 10 years ago

Resolution: fixed
Status: assignedclosed

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

comment:6 by Christian Franke, 10 years ago

Update of Milestones now works. Thanks!

Note: See TracTickets for help on using tickets.