Skip to content

Invalid Display Names in Feature Tags #2601

@arinoch

Description

@arinoch

Quick summary

Tags with invalid characters fail to be imported into instances such as Mastodon, Glitch-soc, etc.

Steps to reproduce

  1. Create a tag using this plugin that includes characters that would not be valid in a standard hashtag.
  2. Publish content to the fediverse under that tag.
  3. From another instance that you might be federated with, try to search for your content using that tag.
  4. You will not be able to see your content on the remote instance.
  5. Admins of that instance, when looking at related jobs for your site, will see: "Validation failed: Name is invalid, Display name is invalid"

Affected URL: /actors/2/collections/tags

Proposed Solution: The plugin should sanitize tags at this URL to conform with standard hashtag syntax, and not use international characters when pushing content to the fediverse.

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Minor

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

Users can rename an invalid tag to conform to standard hashtag syntax (no international characters), but the solution should come from the plugin authors (see above).

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions