From fc848a8d53052c8be01c1fbb7695839795b762a3 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Mon, 9 Jan 2023 20:37:02 +0900 Subject: [PATCH] Allow ASCII and numeric only for fqn --- plume-common/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plume-common/src/utils.rs b/plume-common/src/utils.rs index 4b76864b..330e467a 100644 --- a/plume-common/src/utils.rs +++ b/plume-common/src/utils.rs @@ -28,7 +28,7 @@ pub fn iri_percent_encode_seg(segment: &str) -> String { pub fn make_fqn(name: &str) -> String { name.to_upper_camel_case() .chars() - .filter(|c| c.is_alphanumeric()) + .filter(|c| c.is_ascii_alphanumeric()) .collect() }