Skip to content

Commit dc9dd67

Browse files
Merge pull request #93 from ccorcos/master
Revert "Encode URL"
2 parents 5f6dd6c + 0fe0c7e commit dc9dd67

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ios/SafariViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ - (void) show:(CDVInvokedUrlCommand*)command {
2222
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"url must start with http or https"] callbackId:command.callbackId];
2323
return;
2424
}
25-
urlString = [urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
2625
NSURL *url = [NSURL URLWithString:urlString];
2726
if (url == nil) {
2827
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"bad url"] callbackId:command.callbackId];

0 commit comments

Comments
 (0)