Skip to content

Commit

Permalink
Limit the allowed characters in attribute names
Browse files Browse the repository at this point in the history
After discussion here:
beetbox/beets#3758 (comment)
  • Loading branch information
govynnus committed Mar 7, 2021
1 parent 3b45b22 commit 9c94ac5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.rst
Expand Up @@ -111,6 +111,8 @@ fields not listed in this specification. The optional fields are included in
an effort to standardize the name and format of common (albeit not universal)
metadata.

Names of attributes, including non-standard attributes, **SHOULD** only contain
characters matched by the regular expression ``[a-zA-Z0-9_-]``.

.. _relationships:

Expand Down

0 comments on commit 9c94ac5

Please sign in to comment.