[PATCH V3] hgweb: teach archive how to handle file patterns

Bryan O'Sullivan bos at serpentine.com
Sat Feb 9 16:59:49 CST 2013


On Sat, Feb 9, 2013 at 12:42 PM, Angel Ezquerra <angel.ezquerra at gmail.com>wrote:

> +++ b/mercurial/hgweb/webcommands.py
> @@ -795,7 +795,7 @@
>      if not ((type_ in allowed or
>          web.configbool("web", "allow" + type_, False))):
>          msg = 'Archive type not allowed: %s' % type_
> -        raise ErrorResponse(HTTP_FORBIDDEN, msg)
> +        #raise ErrorResponse(HTTP_FORBIDDEN, msg)
>

Oops?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130209/1c10bb49/attachment.html>


More information about the Mercurial-devel mailing list