Browse Source

Fix File source to not remove text after hash marks, as NSURL does that for us when we use the path property.

master
parent
commit
66302216dc
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      Plugins/FileSource/FileSource.m

+ 0
- 7
Plugins/FileSource/FileSource.m View File

@@ -32,13 +32,6 @@
NSString * path = [url path];
NSRange fragmentRange = [path rangeOfString:@"#" options:NSBackwardsSearch];
if (fragmentRange.location != NSNotFound) {
// Chop the fragment.
NSString* newURLString = [path substringToIndex:fragmentRange.location];
path = newURLString;
}
fex_type_t type;
fex_err_t error = fex_identify_file( &type, [path UTF8String] );


Loading…
Cancel
Save