{"action":"created","issue":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/issues/787","repository_url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/issues/787/labels{/name}","comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/issues/787/comments","events_url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/issues/787/events","html_url":"https://github.com/OneBusAway/onebusaway-iphone/issues/787","id":181535513,"number":787,"title":"Error when tapping on stop that contains a forward slash \"/\" in stopId","user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"aaronbrethorst","id":2254,"avatar_url":"https://avatars.githubusercontent.com/u/2254?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronbrethorst","html_url":"https://github.com/aaronbrethorst","followers_url":"https://api.github.com/users/aaronbrethorst/followers","following_url":"https://api.github.com/users/aaronbrethorst/following{/other_user}","gists_url":"https://api.github.com/users/aaronbrethorst/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronbrethorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronbrethorst/subscriptions","organizations_url":"https://api.github.com/users/aaronbrethorst/orgs","repos_url":"https://api.github.com/users/aaronbrethorst/repos","events_url":"https://api.github.com/users/aaronbrethorst/events{/privacy}","received_events_url":"https://api.github.com/users/aaronbrethorst/received_events","type":"User","site_admin":false},"assignees":[{"login":"aaronbrethorst","id":2254,"avatar_url":"https://avatars.githubusercontent.com/u/2254?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronbrethorst","html_url":"https://github.com/aaronbrethorst","followers_url":"https://api.github.com/users/aaronbrethorst/followers","following_url":"https://api.github.com/users/aaronbrethorst/following{/other_user}","gists_url":"https://api.github.com/users/aaronbrethorst/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronbrethorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronbrethorst/subscriptions","organizations_url":"https://api.github.com/users/aaronbrethorst/orgs","repos_url":"https://api.github.com/users/aaronbrethorst/repos","events_url":"https://api.github.com/users/aaronbrethorst/events{/privacy}","received_events_url":"https://api.github.com/users/aaronbrethorst/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/milestones/24","html_url":"https://github.com/OneBusAway/onebusaway-iphone/milestones/2.6.2%20-%20More%20Bug%20Fixing","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/milestones/24/labels","id":2036781,"number":24,"title":"2.6.2 - More Bug Fixing","description":"","creator":{"login":"aaronbrethorst","id":2254,"avatar_url":"https://avatars.githubusercontent.com/u/2254?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronbrethorst","html_url":"https://github.com/aaronbrethorst","followers_url":"https://api.github.com/users/aaronbrethorst/followers","following_url":"https://api.github.com/users/aaronbrethorst/following{/other_user}","gists_url":"https://api.github.com/users/aaronbrethorst/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronbrethorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronbrethorst/subscriptions","organizations_url":"https://api.github.com/users/aaronbrethorst/orgs","repos_url":"https://api.github.com/users/aaronbrethorst/repos","events_url":"https://api.github.com/users/aaronbrethorst/events{/privacy}","received_events_url":"https://api.github.com/users/aaronbrethorst/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2016-09-29T06:41:09Z","updated_at":"2016-10-07T19:41:17Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-06T21:53:58Z","updated_at":"2016-10-07T20:43:48Z","closed_at":"2016-10-07T18:52:39Z","body":"**Summary:** \r\n\r\nIf you tap on a stop that has a `/` in the `stopId`, the app shows a dialog \"Error - The data couldn't be read because it isn't in the correct format\".\r\n\r\nOpened similar issue on OBA Android:\r\nhttps://github.com/OneBusAway/onebusaway-android/issues/704\r\n\r\nSeems like client-side we should probably escape `/` as `%2F` - see http://stackoverflow.com/questions/2992231/slashes-in-url-variables. \r\n\r\nJust opened server issue here as well - it's not clear that even if we escape the `/` client-side that servers can accept this in a REST API paramater :\r\nhttps://github.com/OneBusAway/onebusaway-application-modules/issues/182\r\n\r\n**Steps to reproduce:** \r\n\r\n1. Using Boston region, search for stop `Forge Park`\r\n1. Show stop on map and tap to see arrivals\r\n\r\nIt has the following stopId:\r\n`1_Forge Park / 495`\r\n\r\n...and it can be seen in the list of stops returned in this stops-for-location query:\r\nhttp://developer.onebusaway.org/mbta-api/api/where/stops-for-location.json?lat=42.078482127189595&lon=-71.43382396548986&latSpan=0.08702002322407765&lonSpan=0.07993753999471664&version=2&key=TEST\r\n\r\n**Expected behavior:** \r\n\r\nShow arrival times for that stop\r\n\r\n**Observed behavior:** \r\n\r\nApp shows dialog \"Error - The data couldn't be read because it isn't in the correct format\".\r\n\r\n**Screenshots:**\r\n\r\n![image](https://cloud.githubusercontent.com/assets/928045/19172023/c5257462-8bed-11e6-9903-802cb63391a0.png)\r\n"},"comment":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/issues/comments/252356421","html_url":"https://github.com/OneBusAway/onebusaway-iphone/issues/787#issuecomment-252356421","issue_url":"https://api.github.com/repos/OneBusAway/onebusaway-iphone/issues/787","id":252356421,"user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T20:43:47Z","updated_at":"2016-10-07T20:43:47Z","body":"Thanks!\n\nOn Oct 7, 2016 2:52 PM, \"Aaron Brethorst\" <notifications@github.com> wrote:\n\n> Closed #787 <https://github.com/OneBusAway/onebusaway-iphone/issues/787>\n> via #793 <https://github.com/OneBusAway/onebusaway-iphone/pull/793>.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/OneBusAway/onebusaway-iphone/issues/787#event-816647488>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AA4pLcfRqu6mQB0y1KiUkb764MUE2ykzks5qxpT5gaJpZM4KQdXN>\n> .\n>\n"}}
{"actor":{"display_login":"barbeau"}}