From 5432a7cfc45b27c1311f524edf75ad77a5e23aff Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Fri, 9 Oct 2020 12:17:28 -0500 Subject: [PATCH] Request#req_env_post_parse - fixup comments [skip ci] --- lib/puma/request.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/puma/request.rb b/lib/puma/request.rb index 73ab8a55..296ebb11 100644 --- a/lib/puma/request.rb +++ b/lib/puma/request.rb @@ -290,12 +290,12 @@ module Puma end private :possible_header_injection? - # Fixup any headers with , in the name to have _ now. We emit - # headers with , in them during the parse phase to avoid ambiguity - # with the - to _ conversion for critical headers. But here for + # Fixup any headers with `,` in the name to have `_` now. We emit + # headers with `,` in them during the parse phase to avoid ambiguity + # with the `-` to `_` conversion for critical headers. But here for # compatibility, we'll convert them back. This code is written to # avoid allocation in the common case (ie there are no headers - # with , in their names), that's why it has the extra conditionals. + # with `,` in their names), that's why it has the extra conditionals. # @param env [Hash] see Puma::Client#env, from request, modifies in place # @version 5.0.3 #