v0.3.1-pre.003-fix.001

This commit is contained in:
2026-08-29 08:18:45 +02:00
parent ecc5607fd4
commit afd4c770f9
3 changed files with 95 additions and 2 deletions

View File

@@ -441,7 +441,7 @@ fn valid_raw_code(value: &str) -> bool {
if value.is_empty() || value.len() > crate::MAX_RAW_CODE_BYTES {
return false;
}
return value.bytes().all(|byte| byte.is_ascii_alphanumeric() || matches!(byte, b'_' | b'-' | b'.' | b':'));
return value.bytes().all(|byte| return byte.is_ascii_alphanumeric() || matches!(byte, b'_' | b'-' | b'.' | b':'));
}
#[cfg(test)]