Created
January 5, 2010 03:42
-
-
Save jonjensen/269129 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- edit-server.orig 2010-01-04 20:13:01.000000000 -0700 | |
+++ edit-server 2010-01-04 20:12:34.000000000 -0700 | |
@@ -73,7 +73,7 @@ | |
} | |
my $len = $header{'content-length'}; | |
- unless ($len) { | |
+ unless (length $len) { | |
http_header($fh, 500, 'Invalid request -- no content-length.'); | |
close $fh; | |
return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment