You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/changelogs/client_server/newsfragments
Dan Callahan 48d8f7202d
Add HTTP 403 to possible profile responses (#3530)
* Add HTTP 403 to possible profile responses

Some servers may not allow profile lookup over federation, and thus
respond to GET /_matrix/client/v3/profile/{userId} with an HTTP 403.

For example, Synapse can be configured to behave in this way by setting:

    allow_profile_lookup_over_federation=false

Thus, this behavior already exists in the wild, and may cause issues for
clients such as https://github.com/vector-im/element-web/issues/17269.

Synapse could alter its behavior and return an HTTP 404 in these cases,
but amending the Spec seems preferable to align with extant behavior.
Further, allowing HTTP 403 gives clients more specific information as to
why a request has failed, enabling more precise error handling.

Signed-off-by: Dan Callahan <danc@element.io>

* Update changelogs/client_server/newsfragments/3530.clarification

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Annotate misc data about error

Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
3 years ago
..
.gitignore Don't let the newsfragments wink out of existence 6 years ago
3324.feature Add m.login.appservice to the spec (#3324) 3 years ago
3481.clarification Key name is supposed to be optional, as per MSC2874 (#3481) 3 years ago
3482.clarification remove extra `type` property (#3482) 3 years ago
3492.clarification Add GitHub Action to check spelling (#3591) 3 years ago
3495.clarification typos: Corrected typos in message_pagination.yaml (#3495) 3 years ago
3509.clarification OpenAPI: Add missing `required` flag in `getRoomKeys` (#3509) 3 years ago
3524.breaking Move `prev_content` to unsigned (#3524) 3 years ago
3530.clarification Add HTTP 403 to possible profile responses (#3530) 3 years ago
3535.clarification Fix typo (#3535) 3 years ago
3543.clarification Clarifications to /sync description (#3534) 3 years ago
3562.clarification Clarify that `base_url` in client `well_known` may or may not include trailing slash (#3562) 3 years ago
3573.clarification clarify which signature to check (#3573) 3 years ago
3591.clarification Add changelog 3 years ago
3601.clarification Add changelog 3 years ago