mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-08 20:45:25 +00:00
Allow ASCII and numeric only for fqn
This commit is contained in:
parent
53cdd8198b
commit
fc848a8d53
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue