Skip to content

Conversation

viktorking7
Copy link

Description

  • Ensures Namespace is never empty:

    • Namespace::new now rejects empty strings with an error.
    • Namespace::from_static panics on empty strings (documented).
  • Rationale: an empty namespace serializes identically to None in Cookie wire format, causing semantic collisions (namespace-specific vs. all-namespaces).

  • Impact:

    • Hardens Rendezvous Cookie semantics.
    • Potentially breaks callers relying on empty namespaces (now rejected).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant