Player names in chat commands can't contain whitespace
Bug #1797702 reported by
Notabilis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Undecided
|
Toni Förster |
Bug Description
When using chat commands, e.g., "@playername My private message.", "playername" can not contain whitespace. If it does, only the first part of the name (before the whitespace) is considered for finding the correct player to send to. The same happens with admin commands like /kick: It is not possible to kick a player whose name contains a space.
This is particularly problematic for LAN games, where players are named as "Player 2", "Player 3" if their desired name is already taken.
Related branches
lp:~widelands-dev/widelands/bug-1797702-spaces-in-names
Rejected
for merging
into
lp:widelands
- GunChleoc: Approve
-
Diff: 80 lines (+27/-4)3 files modifiedsrc/network/gamehost.cc (+3/-3)
src/ui_basic/editbox.h (+4/-0)
src/ui_fsmenu/netsetup_lan.cc (+20/-1)
lp:~widelands-dev/widelands/bug-1797702-spaces-in-names-clean-start
- Toni Förster: Approve
-
Diff: 86 lines (+26/-4)3 files modifiedsrc/network/gamehost.cc (+3/-3)
src/ui_basic/editbox.h (+4/-0)
src/ui_fsmenu/netsetup_lan.cc (+19/-1)
tags: |
added: chat removed: ch |
Changed in widelands: | |
status: | New → Confirmed |
milestone: | none → build21-rc1 |
Changed in widelands: | |
assignee: | nobody → Toni Förster (stonerl) |
To post a comment you must log in.
Migrated to https:/ /github. com/widelands/ widelands/ issues/ 3337