[
https://issues.apache.org/jira/browse/JSPWIKI-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juan Pablo Santos Rodríguez resolved JSPWIKI-1186.
--------------------------------------------------
Fix Version/s: 2.12.2
Resolution: Fixed
fixed in 2.12.2-git-15; also a sensible default for page and attachments dir is
presented, instead of asking to fill in the field
Note that the dir properties end up having 4 backslashes, which is translated
to 2 backslashes when readed by JSPWiki, which is translated to a single
backslash when the property ends up being used.
Also the install screen presents the properties as entered by the user, instead
of the escaped version of the values.
> 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
> Priority: Minor
> Fix For: 2.12.2
>
>
> 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)