Revision: 7259 http://skim-app.svn.sourceforge.net/skim-app/?rev=7259&view=rev Author: hofman Date: 2011-06-07 17:49:31 +0000 (Tue, 07 Jun 2011)
Log Message: ----------- add percent escapes in handling of open location scripting command if necessary Modified Paths: -------------- trunk/SKApplicationController.m Modified: trunk/SKApplicationController.m =================================================================== --- trunk/SKApplicationController.m 2011-06-07 17:43:25 UTC (rev 7258) +++ trunk/SKApplicationController.m 2011-06-07 17:49:31 UTC (rev 7259) @@ -402,7 +402,7 @@ if ([theURLString hasPrefix:@"URL:"]) theURLString = [theURLString substringFromIndex:4]; - NSURL *theURL = [NSURL URLWithString:theURLString]; + NSURL *theURL = [NSURL URLWithString:theURLString] ?: [(id)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)theURLString, CFSTR("#%"), NULL, kCFStringEncodingUTF8) autorelease]; if (theURL) { id document = nil; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit