Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3615 closed defect (wontfix)

URL report parameter question

Reported by: shawn Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.9.6
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I was wondering if this can be done.

See the following SQL statement:

SELECT p.value AS __color__,
   owner AS __group__,
   id AS ticket, summary, component, milestone, t.keywords as "est completion date",   
   t.priority, t.type AS type, time AS created,
   description AS _description_,
   changetime AS _changetime, reporter AS _reporter
FROM ticket t, enum p
WHERE status <> 'closed'
  AND p.name = t.priority AND p.type = 'priority'
  AND t.id in ($TICKETS)
  ORDER BY t.id, t.owner, p.value, t.type, time

I want to pass into $TICKETS something like "1,10,5" without the quotes from a URL reference. Something like this "http://some.site.com/report/5TICKETS=1,10,5". Can it be done?

Attachments (0)

Change History (2)

comment:1 by anonymous, 18 years ago

Typo… there should be a question mark between the number 5 and TICKETS.

comment:2 by Matthew Good, 18 years ago

Resolution: wontfix
Status: newclosed

No, this is not supported since putting parameters in unquoted would allow for SQL-injection attacks.

Also, please try the MailingList when asking for support.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.