matrix-org / matrix-org/matrix-spec

we could do with a grammar for tags

Open
#364 2 comments 0 reactions 0 assignees View on GitHub
A-Client-Server enhancement
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

The spec says 'The name of a tag MUST not exceed 255 bytes', but doesn't specify an encoding, so that doesn't make much sense as it stands.

Should we allow non-ascii? (they are used as display names, so potentially) Spaces? Are they case-sensitive?

They are specific to users so homograph attacks aren't too much of a worry.

Contributor guide

Open the contributing guide

Research direction

Review the tag requirements in the Matrix specification, focusing on the 255-byte limit and the unresolved questions about encoding, non-ASCII characters, spaces, and case sensitivity. Done means the specification documents a decided tag grammar and its validation rules.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.