mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
add missed clause
This commit is contained in:
parent
07dc22a28a
commit
4077ed7036
@ -264,7 +264,7 @@ class TikaTextExtractor implements TextExtractor {
|
|||||||
* @return Returns true if the character is valid UTF-8, false if not.
|
* @return Returns true if the character is valid UTF-8, false if not.
|
||||||
*/
|
*/
|
||||||
private static boolean isValidSolrUTF8(char ch) {
|
private static boolean isValidSolrUTF8(char ch) {
|
||||||
return ((ch <= 0xFDD0 || ch >= 0xFDEF) && (ch > 0x1F || ch == 0x9 || ch == 0xA || ch == 0xD));
|
return ((ch <= 0xFDD0 || ch >= 0xFDEF) && (ch > 0x1F || ch == 0x9 || ch == 0xA || ch == 0xD) && (ch != 0xFFFF) && (ch != 0xFFFE));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user