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

/get_user?u=username_old acts the same as /get_user?u=username #280

Closed
tybug opened this issue Sep 28, 2019 · 6 comments
Closed

/get_user?u=username_old acts the same as /get_user?u=username #280

tybug opened this issue Sep 28, 2019 · 6 comments

Comments

@tybug
Copy link
Member

tybug commented Sep 28, 2019

https://osu.ppy.sh/api/get_user?k=KEY&u=legendre_old and https://osu.ppy.sh/api/get_user?k=KEY&u=legendre both redirect to https://osu.ppy.sh/users/9868921 (legendre), even though a user by the name of legendre_old exists - https://osu.ppy.sh/users/709891. Querying for legendre_old should give legendre_old's profile.

Interestingly, https://osu.ppy.sh/api/get_user?k=KEY&u=legendre_ (adding an underscore) gives the profile of legendre_old.

@peppy
Copy link
Sponsor Member

peppy commented Oct 7, 2019

Fixed.

@Magnus-Cosmos
Copy link

Magnus-Cosmos commented May 16, 2020

This still seems to be an issue, https://osu.ppy.sh/api/get_user?k=KEY&u=JakisRandom_old still redirects to Jakisrandom instead of JakisRandom_old

@peppy
Copy link
Sponsor Member

peppy commented Jun 1, 2020

This is actually intended – we don't index _old users or expose them in any way. The idea is they will contact us if they want to seriously play again and we'll fix their usernames.

@tybug
Copy link
Member Author

tybug commented Jun 1, 2020

That's disappointing if it means that these users are intended to be inaccessible via the api. They are already accessible with a direct link (https://osu.ppy.sh/users/JakisRandom_old), so I don't see the point in excluding them from the api.

@peppy
Copy link
Sponsor Member

peppy commented Jun 2, 2020

We will consider removing the direct links and placing their accounts in a more archived state. Thanks for the feedback!

@tybug
Copy link
Member Author

tybug commented Jun 2, 2020

A larger distinction between normal and *_old accounts would be appreciated — I didn't realize you considered them to be in a different category of users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants