Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: "Michael Ströder" <michael@stroeder.com>
To: galene@lists.galene.org
Subject: [Galene] reject spaces in username
Date: Tue, 12 Jan 2021 16:24:23 +0100	[thread overview]
Message-ID: <4e9372c4-b919-3421-19b2-e7333796f119@stroeder.com> (raw)

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ène to reject spaces in usernames. As interims
solution I will try to hack galene.html and add a pattern attribute to
<input id="username"> [1] but I'm not sure whether this causes any issue
in Javascript parts.

What do you think?

Ciao, Michael.

[1] https://html.com/attributes/input-pattern/

             reply	other threads:[~2021-01-12 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 15:24 Michael Ströder [this message]
2021-01-12 15:36 ` [Galene] " Juliusz Chroboczek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4e9372c4-b919-3421-19b2-e7333796f119@stroeder.com \
    --to=michael@stroeder.com \
    --cc=galene@lists.galene.org \
    --subject='Re: [Galene] reject spaces in username' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox