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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10.1
    • Fix Version/s: None
    • Component/s: Core & storage
    • Labels:
      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

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

              Dates

              • Created:
                Updated: