{"action":"closed","issue":{"url":"https://api.github.com/repos/tdiary/tdiary-core/issues/389","labels_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/389/comments","events_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/389/events","html_url":"https://github.com/tdiary/tdiary-core/issues/389","id":23517825,"number":389,"title":"存在しない日記へのリファラ付きアクセスでエラーが起きる","user":{"login":"hsbt","id":12301,"avatar_url":"https://avatars.githubusercontent.com/u/12301?v=3","gravatar_id":"","url":"https://api.github.com/users/hsbt","html_url":"https://github.com/hsbt","followers_url":"https://api.github.com/users/hsbt/followers","following_url":"https://api.github.com/users/hsbt/following{/other_user}","gists_url":"https://api.github.com/users/hsbt/gists{/gist_id}","starred_url":"https://api.github.com/users/hsbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsbt/subscriptions","organizations_url":"https://api.github.com/users/hsbt/orgs","repos_url":"https://api.github.com/users/hsbt/repos","events_url":"https://api.github.com/users/hsbt/events{/privacy}","received_events_url":"https://api.github.com/users/hsbt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-11-30T09:28:37Z","updated_at":"2015-01-25T04:29:11Z","closed_at":"2015-01-25T04:29:11Z","body":"tDiay-4.0.2とruby-1.9.3で過去に書いた日記を削除したあと、Google検索からアクセスすると、以下のエラーが出る\r\n\r\n```\r\nTDiary::TDiaryError\r\n\r\nbad date\r\n\r\n/usr/share/nginx/www/diary/tdiary/view.rb:266:in `rescue in initialize'\r\n/usr/share/nginx/www/diary/tdiary/view.rb:253:in `initialize'\r\n(plugin/00default.rb):244:in `new'\r\n(plugin/00default.rb):244:in `block in calc_links'\r\n(plugin/00default.rb):239:in `each'\r\n(plugin/00default.rb):239:in `calc_links'\r\n(plugin/00default.rb):205:in `block (2 levels) in load_plugin'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:111:in `call'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:111:in `block in header_proc'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:110:in `each'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:110:in `header_proc'\r\n(TDiary::Plugin#eval_src):5:in `block in eval_src'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:99:in `eval'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:99:in `block in eval_src'\r\n/usr/share/nginx/www/diary/tdiary/core_ext.rb:112:in `block in safe'\r\n/usr/share/nginx/www/diary/tdiary/core_ext.rb:106:in `call'\r\n/usr/share/nginx/www/diary/tdiary/core_ext.rb:106:in `safe'\r\n/usr/share/nginx/www/diary/tdiary/plugin.rb:98:in `eval_src'\r\n/usr/share/nginx/www/diary/tdiary/base.rb:66:in `do_eval_rhtml'\r\n/usr/share/nginx/www/diary/tdiary/base.rb:30:in `eval_rhtml'\r\n/usr/share/nginx/www/diary/tdiary/view.rb:140:in `eval_rhtml'\r\n/usr/share/nginx/www/diary/tdiary/dispatcher/index_main.rb:43:in `run'\r\n/usr/share/nginx/www/diary/tdiary/dispatcher/index_main.rb:6:in `run'\r\n/usr/share/nginx/www/diary/tdiary/dispatcher.rb:26:in `dispatch_cgi'\r\n/usr/share/nginx/www/diary/index.rb:32:in `<top (required)>'\r\n/usr/share/nginx/www/diary/index.fcgi:31:in `load'\r\n/usr/share/nginx/www/diary/index.fcgi:31:in `block (2 levels) in <main>'\r\n/usr/share/nginx/www/diary/index.fcgi:30:in `chdir'\r\n/usr/share/nginx/www/diary/index.fcgi:30:in `block in <main>'\r\n/usr/share/nginx/www/diary/misc/lib/fcgi_patch.rb:74:in `block in each_cgi'\r\n/usr/share/nginx/www/diary/misc/lib/fcgi_patch.rb:71:in `each'\r\n/usr/share/nginx/www/diary/misc/lib/fcgi_patch.rb:71:in `each_cgi'\r\n/usr/share/nginx/www/diary/index.fcgi:22:in `<main>'\r\n```"}}