Skip to content

Disallow : as the first character of metadata keys - #567

Closed
progval wants to merge 2 commits into
ircv3:masterfrom
progval:metadata-key-colon
Closed

Disallow : as the first character of metadata keys#567
progval wants to merge 2 commits into
ircv3:masterfrom
progval:metadata-key-colon

Conversation

@progval

@progval progval commented Jun 21, 2025

Copy link
Copy Markdown
Contributor

It can't be serialized as a non-trailing parameter, eg. in 'METADATA '

Found by @slingamn

It can't be serialized as a non-trailing parameter, eg. in
'METADATA <Target> <Key> <Visibility> <Value>'
@jwheare

jwheare commented Jun 21, 2025

Copy link
Copy Markdown
Member

Do we maybe want to disallow : from keys entirely for simplicity's sake?

@progval

progval commented Jun 21, 2025

Copy link
Copy Markdown
Contributor Author

sure, why not

@slingamn slingamn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Credit for finding this goes to @thatcher-gaming

slingamn added a commit to slingamn/ircv3-specifications that referenced this pull request Jun 22, 2025
* Disallow colon entirely as in ircv3#567
* Disallow A-Z
* Remove requirement of case-insensitive handling
@jwheare

jwheare commented Oct 18, 2025

Copy link
Copy Markdown
Member

This was already merged in #566

@jwheare jwheare closed this Oct 18, 2025
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.

5 participants