Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
b91a6dd8
Commit
b91a6dd8
authored
Mar 01, 2019
by
kaniini
Browse files
Merge branch 'hotfix/http-date-header' into 'develop'
activitypub: fix date header format See merge request
!879
parents
1fc1b0d9
689b0730
Pipeline
#8384
passed with stages
in 3 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/activity_pub/activity_pub.ex
View file @
b91a6dd8
...
...
@@ -828,7 +828,7 @@ def publish_one(%{inbox: inbox, json: json, actor: actor, id: id} = params) do
date
=
NaiveDateTime
.
utc_now
()
|>
Timex
.
format!
(
"{WDshort}, {D} {Mshort} {YYYY} {h24}:{m}:{s} GMT"
)
|>
Timex
.
format!
(
"{WDshort}, {
0
D} {Mshort} {YYYY} {h24}:{m}:{s} GMT"
)
signature
=
Pleroma
.
Web
.
HTTPSignatures
.
sign
(
actor
,
%{
...
...
kaniini
@kaniini
mentioned in commit
d02cd544
·
Mar 01, 2019
mentioned in commit
d02cd544
mentioned in commit d02cd5443f8e8ad3f4d6de22b1282c96fd8689ca
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment