Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1186

Windows, install.jsp double escapes the jspwiki.workDir and nothing else

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.12.2
    • None
    • None

    Description

      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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            spyhunter99 Alex O'Ree
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: