)]}' { "commit": "96b9ed6d4a1abcb776a07ac75e5fb017b07f53fb", "tree": "187027b716faa97fab0c03de3a99551bbd5ba827", "parents": [ "ad700937b3b6d8fe46c3ff54be21c695f5baad92" ], "author": { "name": "QUICHE team", "email": "quiche-dev@google.com", "time": "Tue Jan 25 08:56:53 2022 -0800" }, "committer": { "name": "Copybara-Service", "email": "copybara-worker@google.com", "time": "Tue Jan 25 09:00:02 2022 -0800" }, "message": "Reject invalid :path values in oghttp2.\n\nThis CL aligns oghttp2 more closely with the HTTP/2 spec WRT :path validation:\nhttps://httpwg.org/specs/rfc7540.html#rfc.section.8.1.2.3\n\nIn particular, the :path request pseudoheader must either begin with \u0027/\u0027 or can\nbe \u0027*\u0027 for OPTIONS requests (note that oghttp2 performs this validation\nregardless of scheme).\n\nHttp2RequestsTest.InvalidPathPseudoheaderExternalIp with oghttp2:\nhttp://sponge2/124d5146-d810-4416-8be9-db296b104a87\n\nPiperOrigin-RevId: 424095088\n", "tree_diff": [ { "type": "modify", "old_id": "4111652d181b07fe1ecff346c471935a2c510309", "old_mode": 33188, "old_path": "http2/adapter/header_validator.cc", "new_id": "d0189914ba9897d533c01175088a31ffe6ea9395", "new_mode": 33188, "new_path": "http2/adapter/header_validator.cc" }, { "type": "modify", "old_id": "ddcabdf13ca567f8ee430f5b679af12f912d4b1d", "old_mode": 33188, "old_path": "http2/adapter/header_validator.h", "new_id": "30f16d52659e0e66ff57f159fb3d292aad6e4cec", "new_mode": 33188, "new_path": "http2/adapter/header_validator.h" }, { "type": "modify", "old_id": "ba6d06a0286d808b1d9b9432c251a9aa32934c15", "old_mode": 33188, "old_path": "http2/adapter/header_validator_test.cc", "new_id": "c76a770c022eb848aab0654b7ec1917b77ee96ca", "new_mode": 33188, "new_path": "http2/adapter/header_validator_test.cc" }, { "type": "modify", "old_id": "b16241bb2f5cd0a5e0bb899d6d18b14e0a681023", "old_mode": 33188, "old_path": "http2/adapter/nghttp2_adapter_test.cc", "new_id": "dbab8c6c9a94248a09033127ed5de5117ff92d6d", "new_mode": 33188, "new_path": "http2/adapter/nghttp2_adapter_test.cc" }, { "type": "modify", "old_id": "3596ce0d70f72af4d865edeaaa48e3ad2afa1a57", "old_mode": 33188, "old_path": "http2/adapter/oghttp2_adapter_test.cc", "new_id": "672f6fb01ed7cd024b8de916a26441a9ff24c11f", "new_mode": 33188, "new_path": "http2/adapter/oghttp2_adapter_test.cc" } ] }