Allow ASCII and numeric only for fqn
This commit is contained in:
parent
53cdd8198b
commit
fc848a8d53
@ -28,7 +28,7 @@ pub fn iri_percent_encode_seg(segment: &str) -> String {
|
|||||||
pub fn make_fqn(name: &str) -> String {
|
pub fn make_fqn(name: &str) -> String {
|
||||||
name.to_upper_camel_case()
|
name.to_upper_camel_case()
|
||||||
.chars()
|
.chars()
|
||||||
.filter(|c| c.is_alphanumeric())
|
.filter(|c| c.is_ascii_alphanumeric())
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user