TitleLinks to filesystem doesn't work
Date15-Jan-2007 11:04:42 EET
Versionv2.4.87
SubmitterNikolajPedersen
Bug criticalityLightBug
Browser versionOpera 9.02/Internet Explorer 7/Firefox 1.5.0.9
Bug statusNotABug
PageProvider used
Servlet ContainerTomcat 5.5.17
Operating SystemWindows XP SP2
URLhttp://sandbox.jspwiki.org/Wiki.jsp?page=Testpage1
Java version1.4.2_11-b06

When I create a link to a file in the filesystem like this: [Test|file:///d:/testfile.txt] it translates to <a class="external" href="file:///d:/testfile.txt">Test</a> which seems correct and if I put this in a seperate standalone html page it works fine. But it doesn't seem to work from inside the wiki. -- NikolajPedersen


This actually isn't a bug in JSPWiki -- it's due to a security policy in more recent versions of web browsers. By default, the file:/// protocol won't work when used on a HTML page opened from a web server.

For more info, see MSIE and Mozilla/Firefox

--David Au, 20-Mar-2007

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-2) was last changed on 20-Mar-2007 05:28 by David Au