[ https://issues.apache.org/jira/browse/JSPWIKI-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322004#comment-14322004 ]
David Vittor commented on JSPWIKI-877: -------------------------------------- This has been done, and I've updated the code for SVN 2.10.2-svn-14. However when I run the tests, I get the following errors: {noformat} VersioningFileProviderTest.testMigrationMultiChangesHistory:260 newest author expected:<[Guest]> but was:<[Administrator]> VersioningFileProviderTest.testMigrationMultiChangesNoCache:326 newest author expected:<[Guest]> but was:<[Administrator]> VersioningFileProviderTest.testMigrationChangesHistory:209 new author expected:<[Guest]> but was:<[Administrator]> {noformat} These seem to be incorrect, cause when the TestEngine runs "saveText" the page should be saved by the "Administrator" user. I've attached the patch here. Does anyone have any thoughts on this? > Allow jspwiki.properties filterConfig and policy.file to have fully qualified > paths > ----------------------------------------------------------------------------------- > > Key: JSPWIKI-877 > URL: https://issues.apache.org/jira/browse/JSPWIKI-877 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage > Affects Versions: 2.10.1 > Reporter: David Vittor > Assignee: David Vittor > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)