mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-28 19:14:15 +00:00
Fix string sanitising (#62)
This commit is contained in:
parent
bc5d0476ee
commit
668460f486
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue