{"action":"closed","issue":{"url":"https://api.github.com/repos/dmcquay/node-apac/issues/7","repository_url":"https://api.github.com/repos/dmcquay/node-apac","labels_url":"https://api.github.com/repos/dmcquay/node-apac/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/dmcquay/node-apac/issues/7/comments","events_url":"https://api.github.com/repos/dmcquay/node-apac/issues/7/events","html_url":"https://github.com/dmcquay/node-apac/issues/7","id":1002114,"number":7,"title":"Returned URLs seem to be incorrectly URL-encoded","user":{"login":"aseemk","id":537838,"avatar_url":"https://avatars.githubusercontent.com/u/537838?v=3","gravatar_id":"","url":"https://api.github.com/users/aseemk","html_url":"https://github.com/aseemk","followers_url":"https://api.github.com/users/aseemk/followers","following_url":"https://api.github.com/users/aseemk/following{/other_user}","gists_url":"https://api.github.com/users/aseemk/gists{/gist_id}","starred_url":"https://api.github.com/users/aseemk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseemk/subscriptions","organizations_url":"https://api.github.com/users/aseemk/orgs","repos_url":"https://api.github.com/users/aseemk/repos","events_url":"https://api.github.com/users/aseemk/events{/privacy}","received_events_url":"https://api.github.com/users/aseemk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2011-06-04T07:53:01Z","updated_at":"2016-04-02T22:59:29Z","closed_at":"2016-04-02T22:59:29Z","body":"Hey there,\r\n\r\nGreat work on the library! It makes working with the Product Advertising API so much nicer than by hand! Thanks. =)\r\n\r\nI'm seeing one small bug: returned item URLs seem to be incorrectly URL-encoded. Here's an example, in CoffeeScript:\r\n\r\n    args =\r\n        ItemId: 'B001I8FCGK'\r\n        ResponseGroup: 'Small,Images'\r\n    opHelper.execute 'ItemLookup', args, callback\r\n    \r\n    // within callback(err, resp) assuming no err:\r\n    item = resp?.Items?.Item\r\n    console.log item.DetailPageURL\r\n\r\nThe console logs:\r\n\r\nhttp://www.amazon.com/Discraft-gram-Ultimate-Ultra-Star-disc/dp/B001I8FCGK%3FSubscriptionId%3DAKIAID6UC74GIHYWM6EQ%26tag%3Dthingdom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB001I8FCGK\r\n\r\nThe `%3F` should be `?`, the `%3D`s should be `=`s and the `%26`s should be `&`s.\r\n\r\nThanks in advance for looking into this!"}}