Skip to content

Tag Requests usernames are not sanitized when attempting to tag requestsΒ #2229

@kirazy

Description

@kirazy

Description

Radarr enforces [-0-9a-z] as the only valid characters for a tag (and presumably Sonarr will follow suit?) and rejects calls where the tag label does not satisfy that constraint.

#1897 changed the Seerr request to remove the spaces that Seerr was inserting, however usernames can still violate the constraint and need to be sanitized. Issue is not resolved.

Version

15356df

Steps to Reproduce

  1. Have a username with one-or-more invalid character(s), e.g. user.name or user_name or user name.
  2. Make a request for a movie using Seerr to a Radarr instance configured to tag requests with user ID and name
  3. Review logs for failure notification due to invalid characters.

Screenshots

No response

Logs

Platform

desktop

Database

SQLite (default)

Device

N/A

Operating System

N/A

Browser

N/A

Additional Context

No response

Code of Conduct

  • I agree to follow Seerr's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedThis bug has been reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions