Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getConfFileLastModified() always checks default config file path #2

Closed
GoogleCodeExporter opened this issue Jul 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Jul 5, 2015

Using an explicitly configured config file path with init param 'confPath'
UrlRewriteFilter will never reload changed configuration because it does
not check the file at that path.

    private long getConfFileLastModified() {
        File confFile = new File(context.getRealPath(DEFAULT_WEB_CONF_PATH));
        return confFile.lastModified();
    }

should be

    private long getConfFileLastModified() {
        File confFile = new File(context.getRealPath(confPath));
        return confFile.lastModified();
    }


Original issue reported on code.google.com by asal...@gmail.com on 7 Jun 2007 at 6:09

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jul 5, 2015

Fixed.  Will be in the next release.

Original comment by tuc...@gmail.com on 8 Jun 2007 at 11:23

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant