Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#1593 closed defect (fixed)

backslash character not allowed in report parameter values

Reported by: Emmanuel Blot Owned by: daniel
Priority: low Milestone: 0.9
Component: report system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When a report is selected, the bottom page links to alternative formats such as RSS, CSV and TSV are invalid. They contains, as a HTTP GET parameter, the user login. This makes Trac [1729] to reject the URL (Trac produces an empty response for such a URL).

Example:

  • Report URL: http://host/trac/project/report/9
  • RSS Report URL: http://host/trac/project/report/9?format=rss&USER=DOMAIN%5Cblote
  • CSV Report URL: http://host/trac/project/report/9?format=csv&USER=DOMAIN%5Cblote
  • TSV Report URL: http://host/trac/project/report/9?format=tab&USER=DOMAIN%5Cblote
  • SQL Report URL: http://host/trac/project/report/9?format=sql

It is worth noting that SQL Report URL is valid.

Trouble occurs with a WinXP SP1 server, using Apache 2.0.x and SSPI authentication.
I did not check with another configuration.

Attachments (0)

Change History (1)

comment:1 by Matthew Good, 19 years ago

Resolution: fixed
Status: newclosed
Summary: URL for alternative format of reports are invalid backslash character not allowed in report parameter values

Well the problem here is that the '\' character was not in the list of allowed characters for report parameters. This was compounded by the fact that when this happened it was simply returning with no response rather than reporting the error.

Both issues are fixed in [1730].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.