mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Merge branch 'develop' into 'develop'
Fix HTTP sig tweak on KeyId See merge request pleroma/pleroma!1496
This commit is contained in:
commit
488c06b6f5
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ defmodule Pleroma.Signature do
|
|||
|> Map.put(:fragment, nil)
|
||||
|
||||
uri =
|
||||
if String.ends_with?(uri.path, "/publickey") do
|
||||
if not is_nil(uri.path) and String.ends_with?(uri.path, "/publickey") do
|
||||
Map.put(uri, :path, String.replace(uri.path, "/publickey", ""))
|
||||
else
|
||||
uri
|
||||
|
|
Loading…
Reference in a new issue