From 283fe0e9d2f9a545f8ae64712e5f046cb839ca5f Mon Sep 17 00:00:00 2001 From: taggon Date: Tue, 28 Sep 2010 18:11:29 +0000 Subject: [PATCH] =?UTF-8?q?#19159958=20=EC=84=A4=EC=B9=98=EC=8B=9C=20gzip?= =?UTF-8?q?=20=EA=B8=B0=EB=8A=A5=EC=9D=84=20=EC=A7=81=EC=A0=91=20=EC=A0=9C?= =?UTF-8?q?=EA=B3=B5=ED=95=98=EB=8A=94=20=EC=84=9C=EB=B2=84=EC=97=90?= =?UTF-8?q?=EC=84=9C=20JS,=20CSS=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20=EC=A0=95?= =?UTF-8?q?=EC=83=81=EC=A0=81=EC=9C=BC=EB=A1=9C=20=EB=A1=9C=EB=93=9C?= =?UTF-8?q?=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7728 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/script.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/script.php b/common/script.php index a6e8b7251..b27c7977b 100644 --- a/common/script.php +++ b/common/script.php @@ -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");