{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/1748","repository_url":"https://api.github.com/repos/hexojs/hexo","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/1748/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/1748/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/1748/events","html_url":"https://github.com/hexojs/hexo/issues/1748","id":133624274,"number":1748,"title":"文件名含有#会出错","user":{"login":"michaelHL","id":16971543,"avatar_url":"https://avatars.githubusercontent.com/u/16971543?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelHL","html_url":"https://github.com/michaelHL","followers_url":"https://api.github.com/users/michaelHL/followers","following_url":"https://api.github.com/users/michaelHL/following{/other_user}","gists_url":"https://api.github.com/users/michaelHL/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelHL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelHL/subscriptions","organizations_url":"https://api.github.com/users/michaelHL/orgs","repos_url":"https://api.github.com/users/michaelHL/repos","events_url":"https://api.github.com/users/michaelHL/events{/privacy}","received_events_url":"https://api.github.com/users/michaelHL/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hexojs/hexo/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-15T05:10:28Z","updated_at":"2016-02-19T05:29:26Z","closed_at":null,"body":"比如在`/source/_posts`下新建一个名为`C#教程.md`的文件, \r\n文章信息为:\r\n```\r\n---\r\ntitle: C#教程\r\ndate: 2016-02-15 12:19:02\r\ntags: C#\r\ncomments: true\r\n---\r\n```\r\n在本地调试的时候发现:\r\n- 地址变成了`http://localhost:4000/2016/02/15/C/#教程/`, 显示内容为`Cannot GET /2016/02/15/C/`\r\n- 把地址改为`http://localhost:4000/2016/02/15/C#教程/`, 则会自动切回`http://localhost:4000/2016/02/15/C/#教程/`, 浏览器: `Chrome 48.0.2564.109 m`\r\n- 把地址改为`http://localhost:4000/2016/02/15/C%23教程/`, 则网页正常打开, 内容正常显示\r\n- 点击标签页里面的C#，地址变成了`http://localhost:4000/tags/C/`, 也就是说`C#`标签变成了`C`\r\n\r\n---\r\n\r\nHexo版本:\r\n```\r\nhexo-cli: 1.0.1\r\nos: Windows_NT 6.1.7601 win32 ia32\r\nhttp_parser: 2.6.1\r\nnode: 5.6.0\r\nv8: 4.6.85.31\r\nuv: 1.8.0\r\nzlib: 1.2.8\r\nares: 1.10.1-DEV\r\nicu: 56.1\r\nmodules: 47\r\nopenssl: 1.0.2f\r\n```"},"comment":{"url":"https://api.github.com/repos/hexojs/hexo/issues/comments/186059880","html_url":"https://github.com/hexojs/hexo/issues/1748#issuecomment-186059880","issue_url":"https://api.github.com/repos/hexojs/hexo/issues/1748","id":186059880,"user":{"login":"leesei","id":544400,"avatar_url":"https://avatars.githubusercontent.com/u/544400?v=3","gravatar_id":"","url":"https://api.github.com/users/leesei","html_url":"https://github.com/leesei","followers_url":"https://api.github.com/users/leesei/followers","following_url":"https://api.github.com/users/leesei/following{/other_user}","gists_url":"https://api.github.com/users/leesei/gists{/gist_id}","starred_url":"https://api.github.com/users/leesei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leesei/subscriptions","organizations_url":"https://api.github.com/users/leesei/orgs","repos_url":"https://api.github.com/users/leesei/repos","events_url":"https://api.github.com/users/leesei/events{/privacy}","received_events_url":"https://api.github.com/users/leesei/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T05:29:26Z","updated_at":"2016-02-19T05:29:26Z","body":"你趕急用的話用`c-sharp` 為你的label\r\n特別字符處理可能比較複雜"}}