Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.1 Limitiations on usernames and hostnames - syntatic specification of the userpart #23

Closed
AaronNGray opened this issue May 2, 2024 · 3 comments

Comments

@AaronNGray
Copy link

I cannot find any reference, description, or meaning of the usage of the 0* multiplicity operator in the document or in RFC7565 or RFC 5234.

userpart     = unreserved / sub-delims
               0*( unreserved / pct-encoded / sub-delims )
@trwnh
Copy link
Collaborator

trwnh commented May 2, 2024

The ABNF was taken directly from RFC 7565 Section 7 "IANA Considerations" > "URI Scheme Syntax"

The a*b syntax is "variable repetition" as defined in RFC 5234 Section 3.6: https://www.rfc-editor.org/rfc/rfc5234.html#section-3.6

It means "at least 0". Granted, this is already the default value for a, so I assume the authors of RFC 7565 wanted to be even more explicit for some reason.

@AaronNGray
Copy link
Author

Can we specify this in the document as its not immediately obvious.

Also can we add a Regular expression defintion for usernames too please ?

@trwnh trwnh closed this as completed in b941699 May 3, 2024
@evanp
Copy link
Collaborator

evanp commented May 3, 2024

Why does this issue require synchronous discussion by the whole CG?

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

No branches or pull requests

3 participants