Alex O'Ree created JSPWIKI-1186:
-----------------------------------

             Summary: Windows, install.jsp double escapes the jspwiki.workDir 
and nothing else
                 Key: JSPWIKI-1186
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1186
             Project: JSPWiki
          Issue Type: Bug
            Reporter: Alex O'Ree


minor issue, but after running through install.jsp (running on latest on master 
from github mirror), it produces a properties like this

 

jspwiki.applicationName = Test wiki
jspwiki.fileSystemProvider.pageDir = 
G:\\jspwiki-test\\apache-tomcat-9.0.86\\wikistorage
jspwiki.workDir = 
G:\\\\jspwiki-test\\\\apache-tomcat-9.0.86\\\\work\\\\Catalina\\\\localhost\\\\JSPWiki
jspwiki.basicAttachmentProvider.storageDir = 
G:\\jspwiki-test\\apache-tomcat-9.0.86\\wikistorage
jspwiki.pageProvider = VersioningFileProvider

 

i think it's because install.jsp double escapes the work dir when it's rendered 
in browser, then it gets escaped again when rendering again for the properties 
file

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to