mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Fix string sanitising (#62)
This commit is contained in:
parent
bc5d0476ee
commit
668460f486
@ -281,6 +281,6 @@ public class PlexUtils implements PlexBase
|
||||
|
||||
public static String cleanString(String input)
|
||||
{
|
||||
return CharMatcher.ascii().retainFrom(input);
|
||||
return CharMatcher.forPredicate(c -> Character.getDirectionality(c) != Character.DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE && Character.getDirectionality(c) != Character.DIRECTIONALITY_RIGHT_TO_LEFT).retainFrom(input);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user