safe char regex exclusivity
This commit is contained in:
parent
9e5682ca43
commit
fcef09f104
@ -96,7 +96,7 @@ defmodule Chessh.SSH.Client.TrongleChat do
|
|||||||
height: height
|
height: height
|
||||||
} = state
|
} = state
|
||||||
) do
|
) do
|
||||||
safe_char_regex = ~r/[ A-Za-z0-9._~()'!*:@,;+?-]/
|
safe_char_regex = ~r/^[ A-Za-z0-9._~()'!*:@,;+?-]+$/
|
||||||
|
|
||||||
appended_message_state =
|
appended_message_state =
|
||||||
case action do
|
case action do
|
||||||
|
Loading…
Reference in New Issue
Block a user