[Openstack-docs] [openstack/swift] DocImpact review request

gerrit2 at review.openstack.org gerrit2 at review.openstack.org
Thu Jul 19 12:16:10 UTC 2012


Hi, I'd like you to take a look at this patch for potential
documentation impact.
https://review.openstack.org/9365

Log:
commit faff4ae769f71f79f066774f959028a4391fe689
Author: Vincent Untz <vuntz at suse.com>
Date:   Thu Jul 5 15:43:14 2012 +0200

    Forbid substrings based on a regexp in name_filter middleware
    
    In comments from https://review.openstack.org/8798 it was raised that it
    might make sense to forbid some substrings in the name_filter
    middleware.
    
    There is now a new forbidden_regexp option for the name_filter
    middleware to specify which substrings to forbid. The default is
    "/\./|/\.\./|/\.$|/\.\.$" (or in a non-regexp language: the /./ and /../
    substrings as well as strings ending with /. or /..).
    
    This can be useful for extra paranoia to avoid directory traversals
    (bug 1005908), or for more general filtering.
    
    Change-Id: I39bf2de45b9dc7d3ca4d350d24b3f2276e958a62
    DocImpact: new forbidden_regexp option for the name_filter middleware




More information about the Openstack-docs mailing list