Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle usernames with special characters #11

Open
GOATS2K opened this issue Feb 23, 2021 · 0 comments
Open

Handle usernames with special characters #11

GOATS2K opened this issue Feb 23, 2021 · 0 comments
Labels
enhancement New feature or request
Projects
Milestone

Comments

@GOATS2K
Copy link
Owner

GOATS2K commented Feb 23, 2021

Discord usernames can contain pretty much any unicode character, which is a problem for Overpass when it comes to displaying streams.

Problem

Currently, stream URLs look something like this /watch/<username>
This can potentially become a problem if the username looks something like "Example / User", the problems it introduces are:

  • Unless the slashes are escaped by the browser, the stream will simply not work.
  • The URL becomes harder for the user to type, if they just want to watch a user when they're live.

Potential solutions

  • Force every user to create a "display name" and make sure the name only contains letters, numbers and simple symbols.
  • Generate a display name based on their username on the server side.
@GOATS2K GOATS2K added the enhancement New feature or request label Feb 23, 2021
@GOATS2K GOATS2K added this to To do in v0.3.0 Jul 13, 2021
@GOATS2K GOATS2K added this to the v1.0.0 milestone Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
v0.3.0
To do
Development

No branches or pull requests

1 participant