Commit a92e78ce authored by Felix Paul Kühne's avatar Felix Paul Kühne

MLFile: fix file lookup for paths containing spaces or umlauts

parent 7046f09e
Version 2.6.1
-------------
* Fixed file lookup for paths containing spaces or umlauts
Version 2.6.0
-------------
* Added native support for watchOS 2
......
......@@ -83,7 +83,7 @@ NSString *const MLFileThumbnailWasUpdated = @"MLFileThumbnailWasUpdated";
if (!moc || moc.persistentStoreCoordinator == nil)
return [NSArray array];
NSString *path = url.path;
NSString *path = url.path.stringByRemovingPercentEncoding;
#if TARGET_OS_IPHONE
path = [[MLMediaLibrary sharedMediaLibrary] pathRelativeToDocumentsFolderFromAbsolutPath:path];
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment