fixed: HttpProxy mixes original site's content encoding with WebGUI's
This commit is contained in:
parent
b9134bcadb
commit
3a98713980
2 changed files with 3 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue