top-gg / issues

Report bugs related to Top.gg. For feature requests: https://feedback.top.gg
35 stars 13 forks source link

User ID URLs working with invalid ID's #836

Closed dev-bun closed 3 years ago

dev-bun commented 3 years ago

Hey!

Found an issue regarding URLs (https://top.gg/user/USERID) where some Users have duplicate pages.

For example, tj (userid 749936830098571335)'s user page can be access from both https://top.gg/user/749936830098571335 (real id) and https://top.gg/user/7772600571914813440 (shouldn't be possible, id doesn't exist).

Another example is Family Friendly (userid 286224826170081290) can be found at both https://top.gg/user/286224826170081290 (real id) and https://top.gg/user/3507461555350077440 (shouldn't be possible, id doesn't exist)

Xignotic84 commented 3 years ago

This is because the second ID is their Top.gg ID, this is unique to the user and generated by us and not by Discord. We currently support both Discord ID's and Top.gg ID's for the URL's.