Fixed bug with r+d’s URL not being escaped properly. Replaced NSString method call with equivalent call to CFString functions.