-
Couldn't load subscription status.
- Fork 253
Open
Description
navigation_reader.dart:
String tocFileEntryPath =
ZipPathUtils.combine(contentDirectoryPath, tocManifestItem.Href);zip_path_utils.dart:
static String combine(String directory, String fileName) {
if (directory == null || directory == "") {
return fileName;
} else {
return directory + "/" + fileName;
}
}
}If the tocManifestItem.Href is a ralative path such as "./toc.ncx",the method combine() will return wrong path like OEBPS/./toc.ncx,and error occurred.
Ralative path should be considered in method combine.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels