Item5981: Core: links to Windows shares now require three slashes
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
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