1. 11 8月, 2023 1 次提交
    • B
      http1connection: Make content-length parsing more strict · 217295b1
      Ben Darnell 提交于
      Content-length and chunk size parsing now strictly matches the RFCs.
      We previously used the python int() function which accepted leading
      plus signs and internal underscores, which are not allowed by the
      HTTP RFCs (it also accepts minus signs, but these are less problematic
      in this context since they'd result in errors elsewhere)
      
      It is important to fix this because when combined with certain proxies,
      the lax parsing could result in a request smuggling vulnerability (if
      both Tornado and the proxy accepted an invalid content-length but
      interpreted it differently). This is known to occur with old versions
      of haproxy, although the current version of haproxy is unaffected.
      217295b1
  2. 14 5月, 2023 3 次提交
  3. 24 4月, 2023 3 次提交
  4. 22 4月, 2023 6 次提交
  5. 18 4月, 2023 2 次提交
  6. 10 4月, 2023 4 次提交
  7. 09 4月, 2023 6 次提交
  8. 08 4月, 2023 1 次提交
  9. 31 3月, 2023 4 次提交
  10. 22 2月, 2023 2 次提交
  11. 17 2月, 2023 8 次提交