mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-10 11:19:50 +00:00
e91cabb704
* [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
|
||
---|---|---|
.. | ||
about.go | ||
assets.go | ||
base.go | ||
confirmemail.go | ||
customcss.go | ||
domain-blocklist.go | ||
etag.go | ||
opengraph.go | ||
opengraph_test.go | ||
profile.go | ||
robots.go | ||
rss.go | ||
settings-panel.go | ||
thread.go | ||
web.go |