Skip to content

Commit b9a4c81

Browse files
committed
Removed trailing spaces
1 parent f5faca9 commit b9a4c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webrick/httprequest.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ def parse_host_request_line(host)
531531
def read_body(socket, block)
532532
return unless socket
533533
if tc = self['transfer-encoding']
534-
if self['content-length']
534+
if self['content-length']
535535
raise HTTPStatus::BadRequest, "request with both transfer-encoding and content-length, possible request smuggling"
536536
end
537537

0 commit comments

Comments
 (0)