Item5981: Core: links to Windows shares now require three slashes

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: TWiki:Main.SeanCMorgan
Waiting For:
Last Change By: CrawfordCurrie
Up until TWiki 4.2.0 we could use the syntax [[file://S:\path with spaces even\...][label]] to link to documents or directories on Windows network shares. But on TWiki 4.2.2, a triple-slash is required ( file:///...). This is also required for links with UNC targets, e.g., [[file://\\share\\path...][label]]

Now I have to do a mass document change and (much more difficult) re-educate users.

Also, the support web has LOTS of references to using a just a double-slash: anyone following that advice will be in trouble. Is it possible to reverse whatever parser change makes this necessary?

I suggest this be listed in the Known Issues. (I don't know if it appeared in TWiki 4.2.1, as I skipped that version).

Foswiki doesn't do anything clever with the slashes; whatever you put in square brackets that looks like a URL will be used in an anchor in the HTML without further changes.

I looked back in the source code to see how Beijing handled this, and it's exactly the same. Perhaps something has changed in the way your browser handles these links?

As far as I can see, this is not Foswiki's problem.

-- CrawfordCurrie - 13 Oct 2011

ItemTemplate edit

Summary Core: links to Windows shares now require three slashes
ReportedBy TWiki:Main.SeanCMorgan
Codebase
SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 13 Oct 2011, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy