mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-06-17 00:20:47 -04:00
Merge pull request #528 from yueyuzhao/issue/430-share-project-with-single-quote
iOS: escape single quote in project title
This commit is contained in:
commit
783c440c36
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue