{"action":"created","issue":{"url":"https://api.github.com/repos/joeldev/JLRoutes/issues/43","labels_url":"https://api.github.com/repos/joeldev/JLRoutes/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/joeldev/JLRoutes/issues/43/comments","events_url":"https://api.github.com/repos/joeldev/JLRoutes/issues/43/events","html_url":"https://github.com/joeldev/JLRoutes/issues/43","id":35552684,"number":43,"title":"myapp://web/:URLString doesn't work ","user":{"login":"aelam","id":232337,"avatar_url":"https://avatars.githubusercontent.com/u/232337?v=3","gravatar_id":"","url":"https://api.github.com/users/aelam","html_url":"https://github.com/aelam","followers_url":"https://api.github.com/users/aelam/followers","following_url":"https://api.github.com/users/aelam/following{/other_user}","gists_url":"https://api.github.com/users/aelam/gists{/gist_id}","starred_url":"https://api.github.com/users/aelam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelam/subscriptions","organizations_url":"https://api.github.com/users/aelam/orgs","repos_url":"https://api.github.com/users/aelam/repos","events_url":"https://api.github.com/users/aelam/events{/privacy}","received_events_url":"https://api.github.com/users/aelam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-06-12T06:11:51Z","updated_at":"2016-01-04T07:56:47Z","closed_at":null,"body":"I defiend `myapp://web/:URLString`\r\nURLString will be URLencoded before,\r\nit would be `myapp://web/http%3A%2F%2Fbaidu.com`\r\nbut it's broken in ` pathComponents parsing`. The encoded url would be split. \r\nSee your code,  pathComponents would be web, http:, baidu.com \r\n    \r\n    JLRoutes.m line:370\r\n    \t// break the URL down into path components and filter out any leading/trailing slashes from it\r\n    \tNSArray *pathComponents = [(URL.pathComponents ?: @[]) filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@\"NOT SELF like '/'\"]];\r\n    \t\r\n    \tif ([URL.host rangeOfString:@\".\"].location == NSNotFound) {\r\n\t    \t// For backward compatibility, handle scheme://path/to/ressource as if path was part of the\r\n    \t\t// path if it doesn't look like a domain name (no dot in it)\r\n    \t\tpathComponents = [@[URL.host] arrayByAddingObjectsFromArray:pathComponents];\r\n\t}\r\n\r\n   \r\nDo you have an official way in your mind of this ?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joeldev/JLRoutes/issues/comments/168605499","html_url":"https://github.com/joeldev/JLRoutes/issues/43#issuecomment-168605499","issue_url":"https://api.github.com/repos/joeldev/JLRoutes/issues/43","id":168605499,"user":{"login":"btxkenshin","id":1837666,"avatar_url":"https://avatars.githubusercontent.com/u/1837666?v=3","gravatar_id":"","url":"https://api.github.com/users/btxkenshin","html_url":"https://github.com/btxkenshin","followers_url":"https://api.github.com/users/btxkenshin/followers","following_url":"https://api.github.com/users/btxkenshin/following{/other_user}","gists_url":"https://api.github.com/users/btxkenshin/gists{/gist_id}","starred_url":"https://api.github.com/users/btxkenshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btxkenshin/subscriptions","organizations_url":"https://api.github.com/users/btxkenshin/orgs","repos_url":"https://api.github.com/users/btxkenshin/repos","events_url":"https://api.github.com/users/btxkenshin/events{/privacy}","received_events_url":"https://api.github.com/users/btxkenshin/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T07:56:47Z","updated_at":"2016-01-04T07:56:47Z","body":"@aelam what does this mean？\r\nAt first，you said：\r\n```\r\nI defiend myapp://web/:URLString\r\nURLString will be URLencoded before,\r\nit would be myapp://web/http%3A%2F%2Fbaidu.com\r\n```\r\nSo,what do you mean by change to Web?url=encodedUrl(),need help really"}}