Modify

Opened 15 years ago

Closed 14 years ago

#6053 closed defect (fixed)

Allow whitespace between entries in `urls` configuration parameter

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TracTabPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

In the trac.ini configuration section, the use of whitespace between multiple comma separated entries in urls is not allowed. Most plugins allow whitespace between entries in configuration file parameters.

[tractab]
names=Google,My Blog
urls=http://www.google.com,http://blogs.acceleration.net/russ
perms=WIKI_VIEW,TRAC_ADMIN

The following should be a valid configuration,

[tractab]
names = Google, My Blog
urls = http://www.google.com, http://blogs.acceleration.net/russ
perms = WIKI_VIEW, TRAC_ADMIN

Presumably whitespace is not allowed between entries for the other parameters as well, but I haven't tested this.

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [7466]) Use self.config.getlist rather than self.config.get. Fixes #6053

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.