Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-6) was last changed on 24-Mar-2007 19:28 by HarryMetske  

This page was created on 28-Nov-2004 14:41 by 66.80.8.148

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 38 added 9 lines
----
Fix follows:
OLD CODE:
WikiEngine:1861: File file = new File( m_rootPath, fileName );
NEW CODE:
WikiEngine:1861: java.net.URL baseURL = new java.net.URL(m_baseURL);
WikiEngine:1862: File file = new File( m_servletContext.getRealPath(baseURL.getPath()), fileName );
Version Date Modified Size Author Changes ... Change note
6 24-Mar-2007 19:28 2.968 kB HarryMetske to previous bug closed
5 24-Jan-2005 00:05 2.872 kB Administrator to previous | to last
4 29-Nov-2004 16:26 2.416 kB Administrator to previous | to last
3 28-Nov-2004 18:07 2.16 kB MichaelTaylor to previous | to last
2 28-Nov-2004 18:06 2.13 kB MichaelTaylor to previous | to last
1 28-Nov-2004 14:41 1.849 kB 66.80.8.148 to last
« This page (revision-6) was last changed on 24-Mar-2007 19:28 by HarryMetske