{"issue":{"state":"open","created_at":"2011-11-14T18:08:50Z","updated_at":"2011-11-30T00:38:52Z","comments":3,"user":{"gravatar_id":"d9bebc8f32aaad1275a931e2045196e0","id":718899,"url":"https://api.github.com/users/Trott","login":"Trott","avatar_url":"https://secure.gravatar.com/avatar/d9bebc8f32aaad1275a931e2045196e0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Again, a feature request and not a bug.  ","assignee":{"gravatar_id":"46dfa2e5bdac5fc39a6bd6aca42af8df","id":796815,"url":"https://api.github.com/users/zkhalapyan","login":"zkhalapyan","avatar_url":"https://secure.gravatar.com/avatar/46dfa2e5bdac5fc39a6bd6aca42af8df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2233981,"number":27,"labels":[],"title":"iOS Native container: Use Safari for external links?","html_url":"https://github.com/ucla/mwf/issues/27","closed_at":null,"url":"https://api.github.com/repos/ucla/mwf/issues/27","milestone":null},"action":"created","comment":{"created_at":"2011-11-30T00:38:52Z","updated_at":"2011-11-30T00:38:52Z","user":{"gravatar_id":"d9bebc8f32aaad1275a931e2045196e0","id":718899,"url":"https://api.github.com/users/Trott","login":"Trott","avatar_url":"https://secure.gravatar.com/avatar/d9bebc8f32aaad1275a931e2045196e0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The patch above checks to see if the URL that is being linked to matches m.ucsf.edu or not.  I see four ways for this to work at UCLA:\r\n\r\n1) Match against '.ucla.edu'.  \r\n\r\n2) Maintain an array of hostnames. If the hostname is anything in that array, keep it in the app, otherwise launch Safari.\r\n\r\n3) Perhaps use rel=\"external\" for non-UCLA-MWF links and leverage that. Not sure this is correct use of rel=\"external\" though. \r\n\r\n4) Include some other attribute in the link indicating how a native app should handle it.\r\n\r\nI suspect options 1 and 2 are the most likely to actually work.","id":2953150,"url":"https://api.github.com/repos/ucla/mwf/issues/comments/2953150"}}