ARChromeActivity
ARChromeActivity copied to clipboard
Better url escape
I can suggest to use "@"!'"();:@&=+$,/?%#[]% " instead of "@"!'();:@&=+$,/?%#[]" in encodeByAddingPercentEscapes methos
What situations does the current one fail under?
I'm just not sure how an NSURL would have an unescaped quote in it. In this example below, urlToShare
is nil
because NSURL expects to be given a valid URL.
NSURL *urlToShare = [NSURL URLWithString:@"http://example.com/\"quotes\"/"];
I get this string from stakoverflow a long time ago and I don't know about quotes too. But there is more important difference - space char;