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
|
|
@ -1,4 +1,5 @@
|
||||||
7.5.7
|
7.5.7
|
||||||
|
- fixed: HttpProxy mixes original site's content encoding with WebGUI's
|
||||||
|
|
||||||
7.5.6
|
7.5.6
|
||||||
- fixed: events get start/end time even when none specified (also can offset start/end day)
|
- fixed: events get start/end time even when none specified (also can offset start/end day)
|
||||||
|
|
|
||||||
|
|
@ -373,8 +373,8 @@ sub view {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($response->is_success) {
|
if($response->is_success) {
|
||||||
$var{content} = $response->content;
|
$var{content} = $response->decoded_content || $response->content;
|
||||||
$var{header} = $response->content_type;
|
$var{header} = $response->content_type;
|
||||||
if($response->content_type eq "text/html"
|
if($response->content_type eq "text/html"
|
||||||
|| ($response->content_type eq "" && $var{content}=~/<html/gis)) {
|
|| ($response->content_type eq "" && $var{content}=~/<html/gis)) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue