Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

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
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 the v1.0.0 milestone Dec 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant