Fix File source to not remove text after hash marks, as NSURL does that for us when we use the path property.
This commit is contained in:
parent
2ec3e0940a
commit
16d0d9f5cc
1 changed files with 0 additions and 7 deletions
|
@ -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 a new issue