Last active
January 26, 2016 09:03
-
-
Save oppai/7546404 to your computer and use it in GitHub Desktop.
jsファイルを更新するとヌル文字が文末に挿入される
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ブラウザで読み込み済みのJavaScriptファイルを、再編集しブラウザで読み込むとヌル文字がファイルの文末に挿入される | |
![nginxfuck](http://d3j5vwomefv46c.cloudfront.net/photos/large/822626869.png?1384823858) | |
【解かっている事】 | |
・どこを編集しても文末に挿入される。ファイルは編集前の状態である。 | |
・サーバのOSを再起動すると戻る | |
・ブラウザのキャッシュを削除しても駄目 | |
・Nginxのキャッシュをoffにしても駄目 | |
・Silexでキャッシュを無効にしても駄目(よく考えると意味がなかった) | |
・Twigのキャッシュを無効にしても駄目 | |
・Apacheではうまく行った | |
【動作環境】 | |
OS Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
PHP PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch | |
Nginx 1.1.19 |
Author
oppai
commented
Nov 19, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment