Skip to content

Commit 79a3dec

Browse files
stephenreaybagder
authored andcommitted
Use an escape character for CR
This prevents issues with git and IDE's that try to "fix" a CR character.
1 parent b750f92 commit 79a3dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

h2c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ my $line = 1;
7272
while(<STDIN>) {
7373
my $l = $_;
7474
# discard CRs completely
75-
$l =~ s///g;
75+
$l =~ s/\r//g;
7676
if(!$state) {
7777
chomp $l;
7878
if($l =~ /([^ ]*) +(.*) +(HTTP\/.*)/) {

0 commit comments

Comments
 (0)