Merge pull request from yueyuzhao/issue/430-share-project-with-single-quote

iOS: escape single quote in project title
This commit is contained in:
Deep Malhan 2022-04-05 09:14:47 -04:00 committed by GitHub
commit 783c440c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,6 +163,7 @@
NSDictionary* metadata = request.params[1];
NSString* name = request.params[2];
NSString * fullName = [IO createZipForProject:projectData :metadata :name];
fullName = [fullName stringByReplacingOccurrencesOfString:@"'" withString:@"\\'"];
[request callback:fullName];
}