Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7811 closed defect (worksforme)

Whitespace not respected in links to local files on Windows system

Reported by: johannes.plass@… Owned by:
Priority: normal Milestone:
Component: wiki system Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm lost trying to link to files with whitespace in the file name on a windows system :-) Probably I'm missing something obviuos, but I'm unable to get the following link to work correctly due to the whitespace in the directory name:

   [file://U:\Test Directory\test.doc]

Escaping with double quotes or embedding '%20' doesn't work either, so is there a magic trick ?

Thanks in advance

Johannes Plass

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 16 years ago

Milestone: 0.11.3
Resolution: invalid
Status: newclosed

I don't have Windows to test, but you could try (a shot in the dark):

[file:"//U:\Test Directory\test.doc"]

Anyway, please ask support questions on the MailingList. Feel free to reopen this ticket if you think you have found a genuine bug.

comment:2 by anonymous, 16 years ago

Resolution: invalid
Status: closedreopened
Version: 0.11.10.10.4

The solution:

[file:"//drive:\folder"]

works fine in Internet Explorer, but not in Firefox (my version 3.0.4). Firefox shows folder content, so I suppose it's the trac problem.

Could you please check/fix it. Thanks.

in reply to:  2 comment:3 by Christian Boos, 16 years ago

Resolution: worksforme
Status: reopenedclosed

Replying to anonymous:

… but not in Firefox (my version 3.0.4).

It's a Firefox "feature", not a problem with Trac. Chrome (and Safari, IIRC) does it the same way as Firefox (i.e. the "do nothing" policy).

On a closely related topic, see also TH:WikiGoodiesPlugin#MoreaboutUNCpathsupport.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.