Fix File source to not remove text after hash marks, as NSURL does that for us when we use the path property.
parent
2ec3e0940a
commit
16d0d9f5cc
|
@ -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…
Reference in New Issue