Edgewall Software

Ticket #6998 (new defect)

Opened 9 months ago

Last modified 2 months ago

trac-admin initenv fails when passed single quote on command line

Reported by: justin.r.cutler@… Owned by: jonas
Priority: low Milestone: 0.13
Component: admin/console Version: 0.10.4
Severity: trivial Keywords: trac-admin needcleanup
Cc:

Description

When trac-admin is called with the non-interactive mode of initenv, an exception is raised if the environment name includes a single quote.

Example:

$ trac-admin trac/test initenv "Test's Project" sqlite:db/trac.db \
  svn svn/test/ /usr/share/trac/templates/

Returns:

Command failed: No closing quotation

Attachments

Change History

  Changed 8 months ago by anonymous

  • owner changed from jonas to anonymous
  • status changed from new to assigned
  • severity changed from major to blocker

follow-up: ↓ 3   Changed 8 months ago by anonymous

  • status changed from assigned to closed
  • resolution set to fixed

in reply to: ↑ 2   Changed 8 months ago by justin.r.cutler@…

  • status changed from closed to reopened
  • resolution fixed deleted
  • milestone 0.10.5 deleted

Replying to anonymous:

Where precisely is this fixed? I have tested this against the latest code in 0.10.5dev, and this bug still exists (as of r6692).

  Changed 8 months ago by cboos

  • keywords needcleanup added
  • priority changed from normal to low
  • component changed from general to admin/console
  • severity changed from blocker to trivial
  • milestone set to 0.12

comment:1 and comment:2 were Ticket spam.

The bug exists, I've taken a look. Fixing it requires us to not enclose each argument within a pair of single quotes (change introduced in [133]), and I have yet to check for the implications of that change.

  Changed 7 months ago by anonymous

  • status changed from reopened to closed
  • resolution set to fixed

  Changed 7 months ago by eblot

  • status changed from closed to reopened
  • resolution fixed deleted

  Changed 7 months ago by anonymous

can anyone really post into this?

  Changed 6 months ago by anonymous

  • status changed from reopened to closed
  • type changed from defect to enhancement
  • resolution set to fixed
  • milestone changed from 0.12 to 0.11.1

follow-up: ↓ 10   Changed 6 months ago by ebray <hyugaricdeau@…>

  • status changed from closed to reopened
  • type changed from enhancement to defect
  • resolution fixed deleted
  • milestone changed from 0.11.1 to 0.12

in reply to: ↑ 9   Changed 6 months ago by anonymous

Replying to ebray <hyugaricdeau@gmail.com>: hello whats the update

  Changed 5 months ago by anonymous

  • status changed from reopened to closed
  • resolution set to fixed

  Changed 5 months ago by anonymous

  • status changed from closed to reopened
  • resolution fixed deleted

  Changed 2 months ago by anonymous

  • owner changed from anonymous to jonas
  • status changed from reopened to new

Add/Change #6998 (trac-admin initenv fails when passed single quote on command line)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
The owner will change from jonas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.