Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Bad regex for PUT method of /api/1.x/users endpoint #3117

@ocket8888

Description

@ocket8888

Specifically, that endpoint cannot be reached for any API version. One can PUT to /api/1.x/users/ or even /api/1.x/users/.json. The problem is that the regular expression being matched is users/{id}?(\.json)?$ but should be users(/{id})?(\.json)?$.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions