fixed: HttpProxy mixes original site's content encoding with WebGUI's

This commit is contained in:
Graham Knop 2008-03-18 15:46:02 +00:00
parent b9134bcadb
commit 3a98713980
2 changed files with 3 additions and 2 deletions

View file

@ -373,8 +373,8 @@ sub view {
}
if($response->is_success) {
$var{content} = $response->content;
$var{header} = $response->content_type;
$var{content} = $response->decoded_content || $response->content;
$var{header} = $response->content_type;
if($response->content_type eq "text/html"
|| ($response->content_type eq "" && $var{content}=~/<html/gis)) {