spacebarchat / spacebarchat/server

INVALID_CHARACTERS array used in channel name check includes valid characters from Russian

Open
#1,019 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Good first issue
Dominant language
TypeScript
Stars
2.2k
Forks
323
Avg merge
14h 48m
Merged PRs (30d)
4

Description

Describe the bug
I used the official client with modified "GLOBAL_ENV".
If you put another language (Russian) and try to create a server, the following error will appear:
image

After that, I found in the database that the server was created, but I was not added to it.
I was able to manually add myself to the server in the "Members" table and it worked like a regular server.
Only I was not displayed in the list of participants, and an error is also displayed in the console:
image

Server:

  • OS: LXC Debian 11.6-1 amd64
  • Node Version: v18.15.0
  • Python 3 Version: Python 3.9.2

Env and Software info

  • Release: 1.0.0 (?)
  • Branch : master
  • Commit Hash: 844f1de6aa67cfa9bcb0fdf3a5f8b45026d96e5d
  • Database: 10.5.18-MariaDB-0+deb11u1
  • Reverse Proxy: ngnix
  • Thread Count: 1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce server creation with Russian text in GLOBAL_ENV and trace the channel-name validation from the server-creation entry point. Confirm the validation and membership flow handle valid Russian characters, then verify that the creator appears in the participant list without console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.