{"id":5812,"date":"2011-06-24T11:06:57","date_gmt":"2011-06-24T02:06:57","guid":{"rendered":"http:\/\/fukata.org\/?p=5812"},"modified":"2017-08-11T22:58:49","modified_gmt":"2017-08-11T22:58:49","slug":"codeigniter-display-vars-default-escape","status":"publish","type":"post","link":"https:\/\/blog.fukata.org\/archives\/5812\/","title":{"rendered":"[CodeIgniter]\u8868\u793a\u3059\u308b\u5909\u6570\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f"},"content":{"rendered":"
CodeIgniter\u306eXSS Filter\u306f\u3044\u308d\u3093\u306a\u6587\u5b57\u304c\u524a\u9664\u3055\u308c\u305f\u308a\u3001\u5165\u529b\u306e\u6642\u70b9\u3067\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3055\u308c\u308b\u306e\u3067\u3001\u3042\u307e\u308a\u597d\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n
\u4eca\u56de\u306f\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3088\u304f\u3042\u308b\u3088\u3046\u306a\u3001\u8868\u793a\u3059\u308b\u5909\u6570\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b\u3088\u3046\u306a\u51e6\u7406\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n
<\/p>\n
\u52d5\u4f5c\u691c\u8a3c\u306fv2.0.2\u3067\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u306b\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9069\u5f53\u306a\u5834\u6240\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3082\u3089\u3044\u3001escape_helper\u3092\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001application\/config\/config.php\u306b\u4e0b\u8a18\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n
\r\n$config['display_vars_default_escape'] = TRUE;\r\n<\/pre>\n\u30a8\u30b9\u30b1\u30fc\u30d7\u524d\u306e\u30c7\u30fc\u30bf\u304c\u6b32\u3057\u3044\u5834\u5408\u306f\u300cr\u300d\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n
MY_Loader.php<\/h2>\n
64\u884c\u76ee\u4ed8\u8fd1\u304c\u305d\u306e\u51e6\u7406\u306b\u306a\u308a\u307e\u3059\u3002
\n