From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from srv1.stroeder.com (srv1.stroeder.com [213.240.180.113]) by mail.toke.dk (Postfix) with ESMTPS id 52F747C9FEE for ; Tue, 12 Jan 2021 16:24:26 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (1536-bit key) header.d=stroeder.com header.i=@stroeder.com header.b=DgLylxVp DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=stroeder.com; s=stroeder-com-20201114; t=1610465065; bh=ZET9hYyJD+SZ5isGmvO6tqF5qVK/xVyZ8+AQXC6XnKg=; h=To:From:Subject:Date:From; b=DgLylxVprhYWmkXH0uZTMtLUosZM4LYlMqoDCGUVawIy3DPMwiTF5CjIuodRsOjBe DEY6+Z7iV6WDL/M3mZxmxdVypxd+J/bVRqKcyliQShH+KG7PLeMmwuG5TqJjsJzm2N Jn2MekVAY89lZ5/k+6pYOGvfuOLFGf/R8tPd0+moIhIIFEKRDKv2GIlIp8z8QejN4+ 36K3hsZ5+88+Dr2VEqboHVcJAoABo4GCsQ+kubZLJFRRTXD8k6uCDXjJngN To: galene@lists.galene.org From: =?UTF-8?Q?Michael_Str=c3=b6der?= Message-ID: <4e9372c4-b919-3421-19b2-e7333796f119@stroeder.com> Date: Tue, 12 Jan 2021 16:24:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 3J7T7FV5PUJFZSOSZECUXAK57FWIOF67 X-Message-ID-Hash: 3J7T7FV5PUJFZSOSZECUXAK57FWIOF67 X-MailFrom: michael@stroeder.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] reject spaces in username List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: HI! Currently I don't want to deal with a user management and I'm just generating temporary groups with random ids. Thus groups have empty other field and then the group op uses /present username to allow sending video. It turned out that people used user names like "Ernie and Bert" with spaces. Obviously this does not work especially for chat commands with more than one argument. So I'd rather want Gal=C3=A8ne to reject spaces in usernames. As interims solution I will try to hack galene.html and add a pattern attribute to [1] but I'm not sure whether this causes any issu= e in Javascript parts. What do you think? Ciao, Michael. [1] https://html.com/attributes/input-pattern/