Implement bounded XML LLSD codec

This commit is contained in:
2026-08-09 01:08:14 +00:00
parent 2308e55671
commit 84bc31d031
14 changed files with 853 additions and 34 deletions

View File

@@ -1556,7 +1556,7 @@ fn valid_uri_reference(value: &str) -> bool {
!value.chars().any(char::is_whitespace) && !value.chars().any(char::is_control)
}
fn format_uri_for_codec(value: &str) -> String {
pub(crate) fn format_uri_for_codec(value: &str) -> String {
if !value.contains("://") {
return value.to_owned();
}