Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

In Synapse Admin API's Rooms query seach_term don't accept non-ASCII characters #10841

Closed
@MurzNN

Description

@MurzNN

Description

Not all rooms use English characters, but In Synapse Admin API's Rooms query seach_term don't accept non-ASCII characters.

Steps to reproduce

For example query to search rooms with Russian symbol "ж" using path /_synapse/admin/v1/rooms?dir=f&from=0&limit=10&order_by=name&search_term=%D0%B6 shows the error:

{
  "errcode":"M_UNKNOWN",
  "error":"Query parameter 'search_term' must be ascii"
}

Version information

  • Synapse Version:
    "server_version": "1.42.0",
    "python_version": "3.8.10"

Metadata

Metadata

Assignees

Labels

A-Admin-APIT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.good first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions