{"action":"opened","issue":{"number":80,"created_at":"2011-10-23T16:44:08Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"***Chris (chris0)** [reported (on Launchpad)](https://bugs.launchpad.net/sparkle/+bug/654366) on' 2010-10-04:*\n\nI've been using an older version of Sparkle (v1.1 I believe), but this\nproblem appears to still exist in the latest revision.\n\nIf the RSS feed file contains a (correctly escaped) URL such as\n\"http://any.com/name%20with%20spaces\" then the file will fail to\ndownload.\n\nThe culprit is here:\n    File: SUAppcastItem.m\n    Line: 141\n            [self setFileURL:[NSURL URLWithString:[[enclosure objectForKey:@\"url\"] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]];\n\nTo continue to provide support for (bad) incorrectly escaped URLs you\ncould simply invoke 'stringByReplacingPercentEscapesUsingEncoding:'\nimmediately prior to 'stringByAddingPercentEscapesUsingEncoding:'.\n\nSo line 141 would then be:\n            [self setFileURL: [NSURL URLWithString: [[[enclosure objectForKey: @\"url\"] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]]];","comments":1,"title":"Correctly escaped URLs are corrupted","updated_at":"2011-10-23T16:44:09Z","url":"https://api.github.com/repos/andymatuschak/TestMigration/issues/80","id":2027397,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"5a37f99aa1daf8c27aaa81e4f019484d","avatar_url":"https://secure.gravatar.com/avatar/5a37f99aa1daf8c27aaa81e4f019484d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/andymatuschak","id":2771,"login":"andymatuschak"},"html_url":"https://github.com/andymatuschak/TestMigration/issues/80","labels":[{"name":"Migrated","url":"https://api.github.com/repos/andymatuschak/TestMigration/labels/Migrated","color":"ededed"}],"state":"open"},"legacy":{"number":80,"action":"opened","issue":2027397}}