Mercurial > hg > anonet-resdb
changeset 942:a929c6303a71 draft
bugfix in powerfulproxy
author | Nick <nick@somerandomnick.ano> |
---|---|
date | Mon, 19 Mar 2012 19:37:51 +0000 |
parents | 32a0933d1e04 |
children | 7cd0fbc92605 |
files | doc/www.powerfulproxy.com/public_html/do_it.php |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;