Modify

Opened 5 years ago

Closed 5 years ago

#6053 closed defect (fixed)

Allow whitespace between entries in `urls` configuration parameter

Reported by: rjollos Owned by: rjollos
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 5 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.