1. 30 3月, 2018 1 次提交
    • J
      upload-pack: disable object filtering when disabled by config · c7620bd0
      Jonathan Nieder 提交于
      When upload-pack gained partial clone support (v2.17.0-rc0~132^2~12,
      2017-12-08), it was guarded by the uploadpack.allowFilter config item
      to allow server operators to control when they start supporting it.
      
      That config item didn't go far enough, though: it controls whether the
      'filter' capability is advertised, but if a (custom) client ignores
      the capability advertisement and passes a filter specification anyway,
      the server would handle that despite allowFilter being false.
      
      This is particularly significant if a security bug is discovered in
      this new experimental partial clone code.  Installations without
      uploadpack.allowFilter ought not to be affected since they don't
      intend to support partial clone, but they would be swept up into being
      vulnerable.
      
      Simplify and limit the attack surface by making uploadpack.allowFilter
      disable the feature, not just the advertisement of it.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      c7620bd0
  2. 26 3月, 2018 1 次提交
  3. 09 12月, 2017 16 次提交
  4. 06 12月, 2017 10 次提交
  5. 22 11月, 2017 6 次提交
  6. 30 10月, 2017 2 次提交
  7. 29 10月, 2017 1 次提交
  8. 28 10月, 2017 3 次提交