#1967 closed enhancement (fixed)
Adding Source Links With Spaces
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | wiki system | Version: | 0.8.4 |
Severity: | normal | Keywords: | source link wiki space |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Someone in the SVN repository I work on added a directory name which has a space in it. I'm unable to find a way to do a source: link to this directory in the Wiki. I've tried doing the following links:
source:project/space here source:project/space here/ source:"project/space here" source:"project space here/"
Is this just a user training issue, or maybe just something that hasn't been addressed before?
Thanks,
- Brandon
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added the previous change in r2134.
follow-up: 4 comment:3 by , 5 years ago
Replying to brandon@…:
Someone in the SVN repository I work on added a directory name which has a space in it. I'm unable to find a way to do a source: link to this directory in the Wiki. I've tried doing the following links:
source:project/space here source:project/space here/ source:"project/space here" source:"project space here/"
Is this just a user training issue, or maybe just something that hasn't been addressed before?
Thanks,
- Brandon
It looks like it is still (trac 1.2.3) a problem to have directories or files with spaces in their name.
comment:4 by , 5 years ago
Replying to anonymous:
It looks like it is still (trac 1.2.3) a problem to have directories or files with spaces in their name.
You need to quote paths containing whitespace: [source:"dir with space/file with space"]
. See TracLinks#QuotingspaceinTracLinks. If you have further questions, please ask on the MailingList.
As you can see by yourself (in the description), it works now for Trac 0.9.
The only thing that currently won't work is spaces within identifiers in the link with description form:
renders as: Look there.
Should I add this, or was there a reason not to have it?
formatter.py
[^\] ]+)(?: (?P<label>.*?))?\])",