Skip to content

Commit 6b67a9e

Browse files
committed
* [ios] bugfix cancel url uft8-encode
1 parent 0f5e34d commit 6b67a9e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ios/sdk/WeexSDK/Sources/Handler/WXNavigationDefaultImpl.m

+1-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ - (void)pushViewControllerWithParam:(NSDictionary *)param completion:(WXNavigati
6060
animated = NO;
6161
}
6262

63-
NSString *url = param[@"url"] ;
64-
url = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
65-
66-
WXBaseViewController *vc = [[WXBaseViewController alloc]initWithSourceURL:[NSURL URLWithString:url]];
63+
WXBaseViewController *vc = [[WXBaseViewController alloc]initWithSourceURL:[NSURL URLWithString:param[@"url"]]];
6764
vc.hidesBottomBarWhenPushed = YES;
6865
[container.navigationController pushViewController:vc animated:animated];
6966
[self callback:block code:MSG_SUCCESS data:nil];

0 commit comments

Comments
 (0)