gotosocial/internal
Daenney e91cabb704
[bugfix] Fix NegotiateFormat with multiple accept headers (#1797)
* [bugfix] Fix NegotiateAccept with multi accept

There's a bug in Gin's NegotiateFormat that doesn't handle the presence
of multilpe accept headers. This lifts the code from the PR @tsmethurst
sent a year ago to Gin into our codebase to fix the issue.

* [bugfix] Concat accept header in webfinger

Some implementations bug out when there's multiple accept headers,
including Gin (see 7050112af1). But things
seem to work reliably with a single accept header with multiple parts.

Fixes: #1793
2023-05-16 15:08:45 +02:00
..
ap [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
api [bugfix] Fix NegotiateFormat with multiple accept headers (#1797) 2023-05-16 15:08:45 +02:00
cache [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
config feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
db [chore] Update a bunch of database dependencies (#1772) 2023-05-12 14:33:40 +02:00
email [bugfix] add From to email header (#1717) 2023-04-29 11:47:14 +02:00
federation [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
gotosocial [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
gtscontext [performance] improved request batching (removes need for queueing) (#1687) 2023-04-28 17:45:21 +02:00
gtserror [feature] Allow admins to send test emails (#1620) 2023-03-14 16:11:04 +00:00
gtsmodel [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
httpclient [bugfix] tweak httpclient error handling again ... (#1721) 2023-04-30 10:11:18 +02:00
id [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
iotools [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
log [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
media [feature] status refetch support (#1690) 2023-05-12 11:15:54 +02:00
messages [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
middleware feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
netutil [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oauth [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
processing [bugfix] Fix duplicating fields on profile edit (#1788) 2023-05-15 12:52:40 +02:00
regexes [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
router [frontend] Profiles with fields & more (#1764) 2023-05-11 17:46:32 +02:00
state [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
storage [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
stream [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
text [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
timeline [bugfix/chore] Refactor timeline code (#1656) 2023-04-06 12:43:13 +01:00
tracing feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
trans [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
transport [bugfix] Fix NegotiateFormat with multiple accept headers (#1797) 2023-05-16 15:08:45 +02:00
typeutils [bugfix] Don't try to get user when serializing local instance account (#1757) 2023-05-09 16:05:35 +01:00
uris [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
util [bugfix] Punycode fixes (#1743) 2023-05-07 18:53:21 +01:00
validate [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
visibility [bugfix] Fix single author threads not appearing in home timeline (#1679) 2023-04-08 12:56:55 +02:00
web [bugfix] Fix NegotiateFormat with multiple accept headers (#1797) 2023-05-16 15:08:45 +02:00
workers [performance] improved request batching (removes need for queueing) (#1687) 2023-04-28 17:45:21 +02:00