[PATCH 1 of 2] hgweb: allow static content when deny_read denies access

Dirkjan Ochtman dirkjan at ochtman.nl
Sat Jan 3 07:07:15 CST 2009


On 03/01/2009 01:34, Mark Edgington wrote:
> -            # check allow_read / deny_read config options
> -            self.check_perm(req, None)
> +            # check allow_read / deny_read config options for non-static content
> +            if cmd != 'static':
> +                self.check_perm(req, None)

Looks sensible, but I'm wondering what the rationale is. Could you 
elaborate on that?

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list