{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/fis3/issues/201","labels_url":"https://api.github.com/repos/fex-team/fis3/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/fis3/issues/201/comments","events_url":"https://api.github.com/repos/fex-team/fis3/issues/201/events","html_url":"https://github.com/fex-team/fis3/issues/201","id":103435618,"number":201,"title":"使用url属性的问题","user":{"login":"itachime","id":7401043,"avatar_url":"https://avatars.githubusercontent.com/u/7401043?v=3","gravatar_id":"","url":"https://api.github.com/users/itachime","html_url":"https://github.com/itachime","followers_url":"https://api.github.com/users/itachime/followers","following_url":"https://api.github.com/users/itachime/following{/other_user}","gists_url":"https://api.github.com/users/itachime/gists{/gist_id}","starred_url":"https://api.github.com/users/itachime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itachime/subscriptions","organizations_url":"https://api.github.com/users/itachime/orgs","repos_url":"https://api.github.com/users/itachime/repos","events_url":"https://api.github.com/users/itachime/events{/privacy}","received_events_url":"https://api.github.com/users/itachime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T06:01:38Z","updated_at":"2015-09-08T06:42:08Z","closed_at":null,"body":"对某一文件使用`url`属性后，出来的结果有点问题\r\n```\r\nfis.match(\"/respond-proxy.html\",{\r\n\turl: 'http://192.168.9.92/'+'$0'\r\n})\r\n```\r\n预期的结构是\r\n```\r\n<link href=\"http://192.168.9.92/respond-proxy.html\" id=\"respond-proxy\" rel=\"respond-proxy\" />\r\n```\r\n实际是这样\r\n```\r\n<link href=\"http_//192.168.9.92/respond-proxy.html\" id=\"respond-proxy\" rel=\"respond-proxy\" />\r\n```\r\n差别在 `:` 被转成 `_` 了，为何"},"comment":{"url":"https://api.github.com/repos/fex-team/fis3/issues/comments/138450619","html_url":"https://github.com/fex-team/fis3/issues/201#issuecomment-138450619","issue_url":"https://api.github.com/repos/fex-team/fis3/issues/201","id":138450619,"user":{"login":"xiangshouding","id":631195,"avatar_url":"https://avatars.githubusercontent.com/u/631195?v=3","gravatar_id":"","url":"https://api.github.com/users/xiangshouding","html_url":"https://github.com/xiangshouding","followers_url":"https://api.github.com/users/xiangshouding/followers","following_url":"https://api.github.com/users/xiangshouding/following{/other_user}","gists_url":"https://api.github.com/users/xiangshouding/gists{/gist_id}","starred_url":"https://api.github.com/users/xiangshouding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiangshouding/subscriptions","organizations_url":"https://api.github.com/users/xiangshouding/orgs","repos_url":"https://api.github.com/users/xiangshouding/repos","events_url":"https://api.github.com/users/xiangshouding/events{/privacy}","received_events_url":"https://api.github.com/users/xiangshouding/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T06:42:08Z","updated_at":"2015-09-08T06:42:08Z","body":"可能我们设定的这个属性吧，不是很达意。这块的 `url` 应该是 `uri`\r\n\r\n而真正具体某域名下由 `domain` 属性搞定。\r\n\r\n比如\r\n\r\n```js\r\nfis.match(\"/respond-proxy.html\",{\r\n    uri: '$0',\r\n    domain: 'http://192.168.9.92/'\r\n});\r\n```\r\n\r\n但由于种种原因需要这样\r\n\r\n```js\r\nfis.match(\"/respond-proxy.html\",{\r\n    url: '$0',\r\n    domain: 'http://192.168.9.92/'\r\n});\r\n```"}}