Modify ↓
Opened 15 years ago
Closed 15 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)
Note: See
TracTickets for help on using
tickets.
(In [7466]) Use
self.config.getlist
rather thanself.config.get
. Fixes #6053