Skip to content

Instantly share code, notes, and snippets.

@xeioex
Created December 4, 2025 23:44
Show Gist options
  • Select an option

  • Save xeioex/199124d7e92dc3c95c0b1868ccb4287e to your computer and use it in GitHub Desktop.

Select an option

Save xeioex/199124d7e92dc3c95c0b1868ccb4287e to your computer and use it in GitHub Desktop.
diff --git a/src/conf/order.rs b/src/conf/order.rs
index fd43715..86a72af 100644
--- a/src/conf/order.rs
+++ b/src/conf/order.rs
@@ -323,7 +323,6 @@ fn validate_dns_identifier(name: &str) -> Result<bool, NameError> {
b'*' if state == State::Start => State::Wildcard,
b'.' if state != State::Dot => State::Dot,
- b'/' | b':' => return Err(NameError::Unexpected(ch as _, i)),
// '*' can only be followed by '.'.
_ if state == State::Wildcard => return Err(NameError::Unexpected(ch as _, i)),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment