Package: ffproxy
Version: 1.6-9
Followup-For: Bug #661425

Dear Maintainer,

I have prepared a patch which allows ffproxy to handle high characters
(those in the range of 128-255) found in HTTP headers.

This fixes the breakage on newegg.com.

Cheers,
Paul Merrill
Description: Patch which allows ffproxy to handle high characters in headers
Author: Paul Merrill <napalm...@gmail.com>
Bug-Debian: http://bugs.debian.org/661425
Last-Update: 2012-03-21
--- a/request.c
+++ b/request.c
@@ -221,7 +221,7 @@
 {
 	char            c;
 
-	if (read(s, &c, 1) != 1 || c < 1)
+	if (read(s, &c, 1) != 1 || c == 0)
 		return -1;
 	else
 		return c;
Description: Patch which allows ffproxy to handle high characters in headers
Author: Paul Merrill <napalm...@gmail.com>
Bug-Debian: http://bugs.debian.org/661425
Last-Update: 2012-03-21
--- a/request.c
+++ b/request.c
@@ -221,7 +221,7 @@
 {
 	char            c;
 
-	if (read(s, &c, 1) != 1 || c < 1)
+	if (read(s, &c, 1) != 1 || c == 0)
 		return -1;
 	else
 		return c;
Description: Patch which allows ffproxy to handle high characters in headers
Author: Paul Merrill <napalm...@gmail.com>
Bug-Debian: http://bugs.debian.org/661425
Last-Update: 2012-03-21
--- a/request.c
+++ b/request.c
@@ -221,7 +221,7 @@
 {
 	char            c;
 
-	if (read(s, &c, 1) != 1 || c < 1)
+	if (read(s, &c, 1) != 1 || c == 0)
 		return -1;
 	else
 		return c;
Description: Patch which allows ffproxy to handle high characters in headers
Author: Paul Merrill <napalm...@gmail.com>
Bug-Debian: http://bugs.debian.org/661425
Last-Update: 2012-03-21
--- a/request.c
+++ b/request.c
@@ -221,7 +221,7 @@
 {
 	char            c;
 
-	if (read(s, &c, 1) != 1 || c < 1)
+	if (read(s, &c, 1) != 1 || c == 0)
 		return -1;
 	else
 		return c;
Description: Patch which allows ffproxy to handle high characters in headers
Author: Paul Merrill <napalm...@gmail.com>
Bug-Debian: http://bugs.debian.org/661425
Last-Update: 2012-03-21
--- a/request.c
+++ b/request.c
@@ -221,7 +221,7 @@
 {
 	char            c;
 
-	if (read(s, &c, 1) != 1 || c < 1)
+	if (read(s, &c, 1) != 1 || c == 0)
 		return -1;
 	else
 		return c;

Reply via email to