Skip to content
Browse files

minor bug fix in setURL:

  • Loading branch information...
1 parent 4ec346e commit 814a1053760f89a809ec156b926709649a7ceffc @davedelong committed Jul 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 DDURLBuilder/DDURLBuilder.m
View
4 DDURLBuilder/DDURLBuilder.m
@@ -90,8 +90,8 @@ - (void) setURL:(NSURL *)URL {
continue;
}
- NSString *key = [[components objectAtIndex:0] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
- NSString *value = [[components objectAtIndex:1] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
+ NSString *key = [[bits objectAtIndex:0] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
+ NSString *value = [[bits objectAtIndex:1] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[self addQueryValue:value forKey:key];
}
}

0 comments on commit 814a105

Please sign in to comment.
Something went wrong with that request. Please try again.