spacebarchat / spacebarchat/server
INVALID_CHARACTERS array used in channel name check includes valid characters from Russian
Nobody has claimed this yet.
- 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:

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:

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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