# HG changeset patch # User Nick # Date 1332185871 0 # Node ID a929c6303a715e9b6baba21fa4a196b3ce54485f # Parent 32a0933d1e047367e60616c67aac24d8c825a70c bugfix in powerfulproxy diff -r 32a0933d1e04 -r a929c6303a71 doc/www.powerfulproxy.com/public_html/do_it.php --- a/doc/www.powerfulproxy.com/public_html/do_it.php Thu Mar 15 21:12:25 2012 +0000 +++ b/doc/www.powerfulproxy.com/public_html/do_it.php Mon Mar 19 19:37:51 2012 +0000 @@ -77,9 +77,8 @@ 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;