File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1659,12 +1659,9 @@ - (void)handleXcodeModEvent:(NSAppleEventDescriptor *)event
16591659- (void )handleGetURLEvent : (NSAppleEventDescriptor *)event
16601660 replyEvent : (NSAppleEventDescriptor *)reply
16611661{
1662- NSString *urlString = [[event paramDescriptorForKeyword: keyDirectObject]
1663- stringValue ];
1664- // NOTE: URLWithString requires string to be percent escaped.
1665- urlString = [urlString stringByAddingPercentEscapesUsingEncoding:
1666- NSUTF8StringEncoding];
1667- NSURL *url = [NSURL URLWithString: urlString];
1662+ NSURL *url = [NSURL URLWithString: [[event
1663+ paramDescriptorForKeyword: keyDirectObject]
1664+ stringValue ]];
16681665
16691666 // We try to be compatible with TextMate's URL scheme here, as documented
16701667 // at http://blog.macromates.com/2007/the-textmate-url-scheme/ . Currently,
You can’t perform that action at this time.
0 commit comments