mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 16:59:55 +09:00
#19159958 설치시 gzip 기능을 직접 제공하는 서버에서 JS, CSS 파일이 정상적으로 로드되지 않던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7728 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c329d56fb9
commit
283fe0e9d2
1 changed files with 3 additions and 1 deletions
|
|
@ -135,7 +135,9 @@ function printFileList($list){
|
|||
header("ETag: \"". md5(join(' ', $list)) .'-'. dechex($mtime) .'-'.dechex($size)."\"");
|
||||
}
|
||||
|
||||
header("Content-Length: ". $size);
|
||||
// Fix : 서버에서 gzip 압축을 제공하는 경우 콘텐츠의 길이가 실제와 일치하지 않아 문제가 발생하여
|
||||
// Content-Length 헤더를 생략함. Core #19159958 이슈 참고.
|
||||
// header("Content-Length: ". $size);
|
||||
|
||||
if($content_encoding) header("Content-Encoding: gzip");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue