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

Allow jspwiki.properties filterConfig and policy.file to have fully qualified paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.10.1
    • None
    • Core & storage
    • None

    Description

      Currently adding the following properties does not work:

      • jspwiki.policy.file=C:/temp/jspwiki-custom.policy
      • jspwiki.filterConfig=C:/temp/jspwiki-filters.xml

      The policy file only checks certain locations, and not fully qualified paths.

      The filterConfig has the same problem, but does work in linux, but not in windows as this expects a URL, e.g. file:/C:/temp/... but this causes a SEVERE filterStart error in tomcat.

      Note: These seem to be inconsistant with UserDatabase and GroupDatabase

      Attachments

        1. JSPWIKI-877.patch
          25 kB
          David Vittor

        Activity

          People

            dvittor David Vittor
            dvittor David Vittor
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: