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>
2021-12-29 11:30:32 -07:00
..
.gitignore Don't let the newsfragments wink out of existence 2018-07-06 17:32:57 -06:00
3324.feature Add m.login.appservice to the spec (#3324) 2021-12-28 14:18:44 -07:00
3481.clarification Key name is supposed to be optional, as per MSC2874 (#3481) 2021-11-10 13:48:18 -05:00
3482.clarification remove extra type property (#3482) 2021-11-10 13:46:24 -05:00
3492.clarification Add GitHub Action to check spelling (#3591) 2021-12-28 09:17:49 -07:00
3495.clarification typos: Corrected typos in message_pagination.yaml (#3495) 2021-11-15 15:29:07 -05:00
3509.clarification OpenAPI: Add missing required flag in getRoomKeys (#3509) 2021-11-22 13:23:24 -05:00
3524.breaking Move prev_content to unsigned (#3524) 2021-12-02 17:22:58 +00:00
3530.clarification Add HTTP 403 to possible profile responses (#3530) 2021-12-29 11:30:32 -07:00
3535.clarification Fix typo (#3535) 2021-12-01 09:49:43 -07:00
3543.clarification Clarifications to /sync description (#3534) 2021-12-01 16:28:31 -07:00
3562.clarification Clarify that base_url in client well_known may or may not include trailing slash (#3562) 2021-12-23 10:12:25 +00:00
3573.clarification clarify which signature to check (#3573) 2021-12-17 08:45:19 -05:00
3591.clarification Add changelog 2021-12-28 09:18:13 -07:00
3601.clarification Add changelog 2021-12-28 09:16:18 -07:00