Class ConfluenceResourceDownloadRewriteRule

  • public class ConfluenceResourceDownloadRewriteRule
    extends org.tuckey.web.filters.urlrewrite.extend.RewriteRule
    This Tuckey URL RewriteRule will noramlise a URL and then make sure that it does not attempt to use directory traversal to access the WEB-INF directory.

    This RewriteRule will also add the caching/no-caching headers (if necessary) depending on URL used CachedRewriteMatch DisableCacheRewriteMatch

    Note: Although a similar rules is provided by ResourceDownloadRewriteRule Confluence requires a url re-mapping for the "download/images" path, as well as support for non-caching headers

    • Constructor Detail

      • ConfluenceResourceDownloadRewriteRule

        public ConfluenceResourceDownloadRewriteRule()
    • Method Detail

      • matches

        public org.tuckey.web.filters.urlrewrite.extend.RewriteMatch matches​(javax.servlet.http.HttpServletRequest request,
                                                                             javax.servlet.http.HttpServletResponse response)
        matches in class org.tuckey.web.filters.urlrewrite.extend.RewriteRule