Dhravya / dump.place

Home Page:https://dump.place

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent certain character from being included in username or parse them properly

kenneropia opened this issue · comments

Hello guys, I used "adetunmbikenny@gmail.com" as a username and because the username is on the URL on the profile page, characters like "@" and "<" are converted to %40 and %3E respectively, you can check for more info on this here.

We can either prevent those type of character from the form or convert the string(like adetunmbikenny%40gmail.com to "@adetunmbikenny@gmail.com") before passing the payload to the db.

Context:
image

Please, can I create a PR for this and work on it and please if so, kindly choose the approach to go with it. Thanks.

Yes, please go ahead, we only want English characters a-z A-Z -_ 0-9

(lowercase only)

fixed

I was already working on it on my local branch🥲, please don’t take the other one I have started working on it.

my bad, this was pretty urgent so I just got it done