{"action":"created","issue":{"url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/issues/378","labels_url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/issues/378/comments","events_url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/issues/378/events","html_url":"https://github.com/SoftwareFoundationGroupAtKyotoU/automata/pull/378","id":73237314,"number":378,"title":"Bugfix about how to escape 'path' parameter.","user":{"login":"h-inoue","id":4057417,"avatar_url":"https://avatars.githubusercontent.com/u/4057417?v=3","gravatar_id":"","url":"https://api.github.com/users/h-inoue","html_url":"https://github.com/h-inoue","followers_url":"https://api.github.com/users/h-inoue/followers","following_url":"https://api.github.com/users/h-inoue/following{/other_user}","gists_url":"https://api.github.com/users/h-inoue/gists{/gist_id}","starred_url":"https://api.github.com/users/h-inoue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-inoue/subscriptions","organizations_url":"https://api.github.com/users/h-inoue/orgs","repos_url":"https://api.github.com/users/h-inoue/repos","events_url":"https://api.github.com/users/h-inoue/events{/privacy}","received_events_url":"https://api.github.com/users/h-inoue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-05T07:34:56Z","updated_at":"2015-05-05T17:12:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/pulls/378","html_url":"https://github.com/SoftwareFoundationGroupAtKyotoU/automata/pull/378","diff_url":"https://github.com/SoftwareFoundationGroupAtKyotoU/automata/pull/378.diff","patch_url":"https://github.com/SoftwareFoundationGroupAtKyotoU/automata/pull/378.patch"},"body":"uriのpathパラメータが正しくescapeされるようにしました．以下の影響があります．\r\n- `+`や`&`付きpathに対して，「直接開く」が正しく動作する\r\n- `+`や`&`付きディレクトリ以下のappletが読み込まれる\r\n\r\n前者はconfig.ruとfile_view.jsのバグ．後者の解決方法は，rackとcgiの場合で異なっています．\r\n- rackだと，applet tagの方でescapeしてやればよかった\r\n- apacheの場合はrewrite engineでBフラグを付けてescapeする必要あり．さらにVirtualHostに`AllowEncodedSlashes On`を足す必要がある．"},"comment":{"url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/issues/comments/99144179","html_url":"https://github.com/SoftwareFoundationGroupAtKyotoU/automata/pull/378#issuecomment-99144179","issue_url":"https://api.github.com/repos/SoftwareFoundationGroupAtKyotoU/automata/issues/378","id":99144179,"user":{"login":"skymountain","id":338200,"avatar_url":"https://avatars.githubusercontent.com/u/338200?v=3","gravatar_id":"","url":"https://api.github.com/users/skymountain","html_url":"https://github.com/skymountain","followers_url":"https://api.github.com/users/skymountain/followers","following_url":"https://api.github.com/users/skymountain/following{/other_user}","gists_url":"https://api.github.com/users/skymountain/gists{/gist_id}","starred_url":"https://api.github.com/users/skymountain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skymountain/subscriptions","organizations_url":"https://api.github.com/users/skymountain/orgs","repos_url":"https://api.github.com/users/skymountain/repos","events_url":"https://api.github.com/users/skymountain/events{/privacy}","received_events_url":"https://api.github.com/users/skymountain/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T17:12:41Z","updated_at":"2015-05-05T17:12:41Z","body":"個人的には JS/Ruby ともにパスは encodeURIComponent で一括で置換して必要な文字だけを unescape するのに一票です．"}}