{"id":1260,"date":"2005-04-08T01:12:00","date_gmt":"2005-04-07T17:12:00","guid":{"rendered":"http:\/\/www.sunnyblog.net\/blog\/?p=1260"},"modified":"2005-04-08T01:12:00","modified_gmt":"2005-04-07T17:12:00","slug":"mt%e7%ae%a1%e7%90%86%e7%95%8c%e9%9d%a2%e5%87%ba%e7%8e%b0%e5%a5%87%e6%80%aa%e4%b9%b1%e7%a0%81%e6%83%85%e5%bd%a2%e7%9a%84%e4%bf%ae%e5%a4%8d%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sunnyblog.net\/blog\/archives\/1260","title":{"rendered":"MT\u7ba1\u7406\u754c\u9762\u51fa\u73b0\u5947\u602a\u4e71\u7801\u60c5\u5f62\u7684\u4fee\u590d\u65b9\u6cd5"},"content":{"rendered":"<p>\u2014\u2014\u8fd9\u51e0\u5929\u9971\u53d7MT Spam\u7684\u8e42\u8e8f\uff0c\u4eca\u5929\u665a\u4e0a\u8fdb\u5165\u81ea\u5df1\u7684\u7ba1\u7406\u754c\u9762\u5c45\u7136\u8fd8\u53d1\u73b0\u6709\u4e9b\u5730\u65b9\u4e71\u7801\u4e86\uff01<br \/>\n\u5982\u4e0b\u56fe\uff1a<br \/>\n<img loading=\"lazy\" decoding=\"async\" alt=\"MTerror1.jpg\" src=\"http:\/\/www.sunnyblog.net\/cgi-bin\/mt\/archives\/MTerror1.jpg\" width=\"451\" height=\"127\" border=\"0\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"MTerror2.jpg\" src=\"http:\/\/www.sunnyblog.net\/cgi-bin\/mt\/archives\/MTerror2.jpg\" width=\"498\" height=\"253\" border=\"0\" \/><\/p>\n<p>\u2014\u2014\u4e00\u5207\u5176\u4ed6\u64cd\u4f5c\u8fd8\u7b97\u6b63\u5e38\uff0c\u751a\u81f3\u5bfc\u51fa\u7684\u6587\u4ef6\uff0c\u4ee5\u53ca\u7cfb\u7edf\u66f4\u65b0\u540e\u7684\u524d\u53f0\u9875\u9762\uff0c\u90fd\u6ca1\u6709\u4e71\u7801\u7684\u95ee\u9898\uff0c<br \/>\n\u552f\u72ec\u4e0a\u9762\u8fd9\u4e24\u4e2a\u5730\u65b9\u3002\u4f30\u8ba1\u6570\u636e\u5e93\u5e94\u8be5\u6ca1\u6709\u635f\u574f\uff08\u5426\u5219\u5bfc\u51fa\u7684\u65f6\u5019\u6570\u636e\u65e9\u4e71\u4e86\uff09\u3002\u4e8e\u662f\u5230\u5904\u53d1\u6398<br \/>\n\u89e3\u51b3\u529e\u6cd5\uff0c\u4f46\u662fGoogle\u4e86\u597d\u4e45\u90fd\u6ca1\u6709\u5934\u7eea\u3002\u4e8e\u662f\u4ece\u914d\u7f6e\u6587\u4ef6\u5165\u624bmt.cfg\u5165\u624b\uff0c\u672c\u7740\u4e00\u640f\u7684\u7cbe\u795e<br \/>\n\u7ec8\u4e8e\u627e\u5230\u4e86\u89e3\u51b3\u4e4b\u9053\uff01\u5728mt.cfg\u6587\u4ef6\u627e\u4ee5\u4e0b\u5b57\u7b26\uff1aNoHTMLEntities 1 \u4ed6\u7684\u6ce8\u91ca\u662f\u8fd9\u6837\u8bf4\u7684\uff1a<\/p>\n<blockquote><p>\n# By default Movable Type uses the Perl module HTML::Entities to encode<br \/>\n# characters into HTML entities, provided that you have this Perl module.<br \/>\n# However, in some circumstances, even if you have this module, you may<br \/>\n# not wish to use it for encoding; for example, if you are using a language<br \/>\n# that uses a different character encoding (Polish, Russian, etc). In that<br \/>\n# case, you should set the value of NoHTMLEntities to 1.\n<\/p><\/blockquote>\n<p>\n\u4e8e\u662f\u6253\u5f00\u4e86\u8fd9\u4e2a\u914d\u7f6e\u9879\u7684\u5f00\u5173\uff08\u5c06\u201c# NoHTMLEntities 1\u201d\u524d\u9762\u7684\u201c#\u201d\u53bb\u6389\uff09\uff0c\u7136\u540e\u987a\u5e26\u6539\u591a\u4e00<br \/>\n\u4e2a\u5730\u65b9\uff0c\u5c31\u662fMT\u5b89\u88c5\u76ee\u5f55\u4e0b\u9762%mt%\/extlib\/CGI.pm\uff0c\u91cc\u9762\u67e5\u627e\u8fd9\u6bb5\u8bdd\uff1a<br \/>\n$self->charset(&#8216;ISO-8859-1&#8217;); \u5c06\u5176\u6539\u6210$self->charset(&#8216;UTF-8&#8217;); \u90a3\u4e48\u6211\u4eec\u6240\u6709<br \/>\n\u7684CGI\u7a0b\u5e8f\u90fd\u662f\u6309\u7167UTF-8\u7684\u7f16\u7801\u8f93\u51fa\uff0c\u5176\u6700\u5927\u6210\u6548\u5c31\u662fMT-Blacklist\u7684\u754c\u9762\u4ece\u539f\u6765\u7684iso<br \/>\n\u53d8\u6210UTF-8\uff0c\u6211\u4eec\u7684\u5185\u5bb9\u5c31\u5728blacklist\u4e0a\u9762\u6b63\u5e38\u663e\u793a\u4e86\u3002<\/p>\n<p>\u2014\u2014\u6539\u597d\u8fd9\u4e24\u4e2a\u6587\u4ef6\uff0c\u4e0a\u4f20\u56de\u670d\u52a1\u5668\uff0c\u7ed3\u679c\u5f53\u7136\u662f\u4e00\u5207\u6b63\u5e38\u5566\uff5e\uff5e\u4e0d\u8fc7\u5947\u602a\u7684\u5c31\u662f\u4e3a\u5565\u6211\u7684<br \/>\nMT\u4f1a\u5ffd\u7136\u53d1\u751f\u8fd9\u79cd\u4e8b\u60c5\u5462\uff1f\u8fd8\u662f\u767e\u601d\u4e0d\u5f97\u5176\u89e3\u2026\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2014\u2014\u8fd9\u51e0\u5929\u9971\u53d7MT Spam\u7684\u8e42\u8e8f\uff0c\u4eca\u5929\u665a\u4e0a\u8fdb\u5165\u81ea\u5df1\u7684\u7ba1\u7406\u754c\u9762\u5c45\u7136\u8fd8\u53d1\u73b0\u6709\u4e9b\u5730\u65b9\u4e71\u7801\u4e86\uff01 \u5982\u4e0b\u56fe\uff1a \u2014\u2014\u4e00\u5207\u5176 &hellip; <a href=\"https:\/\/www.sunnyblog.net\/blog\/archives\/1260\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">MT\u7ba1\u7406\u754c\u9762\u51fa\u73b0\u5947\u602a\u4e71\u7801\u60c5\u5f62\u7684\u4fee\u590d\u65b9\u6cd5<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-1260","post","type-post","status-publish","format-standard","hentry","category-www"],"_links":{"self":[{"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/posts\/1260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/comments?post=1260"}],"version-history":[{"count":0,"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/posts\/1260\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/media?parent=1260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/categories?post=1260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sunnyblog.net\/blog\/wp-json\/wp\/v2\/tags?post=1260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}