| Title | Links to filesystem doesn't work |
| Date | 15-Jan-2007 11:04:42 EET |
| Version | v2.4.87 |
| Submitter | NikolajPedersen |
| Bug criticality | LightBug |
| Browser version | Opera 9.02/Internet Explorer 7/Firefox 1.5.0.9 |
| Bug status | NotABug |
| PageProvider used | |
| Servlet Container | Tomcat 5.5.17 |
| Operating System | Windows XP SP2 |
| URL | http://sandbox.jspwiki.org/Wiki.jsp?page=Testpage1![]() |
| Java version | 1.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