Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#2002 closed defect (worksforme)

Attachment syntax does not work with space in filename.

Reported by: Alesque Owned by: Christian Boos
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: trivial Keywords: wiki attachment
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I added a file ADOdb Manual.chm to a wiki page. So i tried to make reference to the attachment with this syntax :

[attachment:ADOdb%20Manual.chm ADOdb Manual]

It's seems that Wiki module does not resolve link properly.

Attachments (1)

ADOdb Manual.chm (23 bytes ) - added by Christian Boos 19 years ago.
Fake document for testing the attachment wiki syntax

Download all attachments as: .zip

Change History (9)

comment:1 by Christian Boos, 19 years ago

Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

comment:2 by Christian Boos, 19 years ago

It seems to work for me… but the usual syntax in TracWikiLinks for quoting space is:

by Christian Boos, 19 years ago

Attachment: ADOdb Manual.chm added

Fake document for testing the attachment wiki syntax

comment:3 by Christian Boos, 19 years ago

Milestone: 0.9
Resolution: worksforme
Status: assignedclosed

That feature should be documented in TracLinks

comment:4 by anonymous, 18 years ago

Priority: lownormal
Resolution: worksforme
Status: closedreopened

I have similar problem with space in file name. I want to create link to attachment that is on other page

example with ADOdb Manual.chm:

[attachment:ticket:2002:'ADOdb Manual.chm' This link] Manual.chm' This link

and it does'n work :(

comment:5 by Christian Boos, 18 years ago

It should be [attachment:'ticket:2002:ADOdb Manual.chm' This link]This link but yes, that's not that pretty…

comment:6 by Christian Boos, 18 years ago

Resolution: worksforme
Status: reopenedclosed

I've rewritten the TracLinks#QuotingspaceinTracLinks documentation to make this more explicit.

Please don't reopen saying that syntax should be changed unless providing a regexp that would handle the change :) (see the current one, which is already complex enough).

comment:7 by Christian Boos, 18 years ago

(oops, wrong line number in the above link to the TracLinks regexp: should have been L165).

comment:8 by anonymous, 18 years ago

Thanks

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.