modrinth / labrinth

Our Rust-based backend utilizing the actix-web framework to serve Modrinth's API.

Home Page:https://modrinth.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't Access Profile. Get's Truncated.

NathanPrice opened this issue · comments

Describe the bug

Hi, I believe I found a bug on the actual Modrinth website itself. Reposting this here per @triphora's request since I originally posted this in the website support section in Discord.

Long story short, I believe there's a bug with the account creation process as there doesn't seem to be certain sanitation checks. Shouldn't be too much of an issue since I was told you all use Vue template's but I seem to have run across an edge case. Found this out because when I was making my account I ended up making my username "." and it went through.

I tried going to my profile after verifying my email however I get an error saying that it can't find me even though I can access it via the dashboard just fine. To double check this I made another account on a backup email I had and made the username just "@" and that went through as well and can access it's profile info just fine.

Reporting this as it might cause issues down the line. Haven't tried other characters but the potential for something breaking could be there.

Steps to reproduce

  1. Click the account dropdown menu
  2. Click "Visit your profile"
  3. Error pops up saying user can't be found

Expected behavior

Should be able to view my account profile but instead the username gets truncated out of the url bar and get told that my profile can't be found. Can access the dashboard just fine but could potentially cause issues elsewhere on the site that I haven't run into yet.

Additional context

. Dashboard (main account): https://prnt.sc/EMTizDikLfl3
@ Profile (test account): https://prnt.sc/-e2DWrWle2v9

Hi, it's been about a month since I opened this bug report. Is it going to be looked at in the near future? Still can't access my profile because of this.