Implement bounded XML LLSD codec
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user