From b9a1a619ef0aac59f3ebeef3c7d5d653281d0f99 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 19 Mar 2012 19:37:51 +0000 Subject: bugfix in powerfulproxy --- doc/www.powerfulproxy.com/public_html/do_it.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/www.powerfulproxy.com/public_html/do_it.php b/doc/www.powerfulproxy.com/public_html/do_it.php index 48c128e..8274259 100644 --- a/doc/www.powerfulproxy.com/public_html/do_it.php +++ b/doc/www.powerfulproxy.com/public_html/do_it.php @@ -77,9 +77,8 @@ if ($info['http_code'] === 301) { header('Location: '.$redirurl); } } -} else { - if (in_array(strtok($info['content_type'], ';'), $REWRITE_CONTENT_TYPES)) $data = preg_replace(array_keys($REWRITE_PATTERNS), array_values($REWRITE_PATTERNS), $data, -1, $count); } +if (in_array(strtok($info['content_type'], ';'), $REWRITE_CONTENT_TYPES)) $data = preg_replace(array_keys($REWRITE_PATTERNS), array_values($REWRITE_PATTERNS), $data, -1, $count); header('Content-Length: '.strlen($data)); echo $data; -- cgit v1.2.3