moshen/node-googlemaps — pull request #30 by regality (2013-09-04 17:05:41+00:00)
Title: escape single quotes in urls so we don't break signatures

fixes moshen/node-googlemaps#29

request was escaping single quotes when we passed them in, after we had already generated a signature with unescaped quotes. We just need to escape them ourselves.

The problem lies here: https://github.com/joyent/node/blob/7494c84fe6fa1127de5a9827119d9e389cbfb016/lib/url.js#L62, so it looks like single quotes are the only character affected by this bug.

![syzg30j](https://f.cloud.github.com/assets/678338/1082143/71713a7e-1583-11e3-890f-83157417cac9.gif)