GTS: cherry-picks and collection usage #186

Merged
floatingghost merged 8 commits from gts-cherry-picks into develop 2022-08-27 18:05:48 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d991a3eee0 - Show all commits

View File

@ -64,7 +64,7 @@ defmodule Pleroma.Web.Plugs.HTTPSignaturePlug do
if has_signature_header?(conn) do
# set (request-target) header to the appropriate value
# we also replace the digest header with the one we computed
possible_paths = route_aliases(conn) ++ [conn.request_path]
possible_paths = route_aliases(conn) ++ [conn.request_path, conn.request_path <> "?#{conn.query_string}"]
assign_valid_signature_on_route_aliases(conn, possible_paths)
else
Logger.debug("No signature header!")