-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Drop "/{username}.png" in favor of "/user/avatar/{username}" #23908
Drop "/{username}.png" in favor of "/user/avatar/{username}" #23908
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
users that end in *.png will already be broken, so we should add a blocker to prevent new users from creating such users. that wouldn't be a breaking change.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
I had read that, but am still preferring to add the *.png exclusion, as any user already created with that would be broken per the URLs routes. So by adding in the exclusion, then there is no breaking change, but by dropping the route it is a breaking change. I use that route somewhat regularly (at least once a month), and so that is where I am coming from. |
alternative -> #23992 |
Do we know of any external integrations that use these endpoints? When were they introduced? |
this is no api so there was never a promise to not break ... btw. |
I personally don not have a strong opinion when it comes to either drop or reserve the png case ... but would like to not see the reserve pattern list increase at all if it comes to new things ... |
I guess the ideal solution would be to keep supporting it and just be more intelligent during the routing. Assuming users
That could be done for all these endpoints and it would not be breaking. |
Ah, I see that can't work because we shadow the user page with such a route. |
I guess I prefer to add to reserved users, just to not break any existing integrations. |
I guess a |
Org/User names ending with ".png" where not functional, so reserve them alternative / close #23908
the user pattern "*.png" was never reserved, so we either have to reserve it or drop the path.
I propose to drop the path in favor of an alternate one
for the full dialog read #23874 (comment)
alternative / close #23992