Skip to content

Commit

Permalink
Merge pull request landrok#17 from GuDzpoz/patch-1
Browse files Browse the repository at this point in the history
Pattern now matches fields with hyphens
  • Loading branch information
landrok authored Nov 6, 2020
2 parents 98f27dc + 3e1f462 commit 0b98689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActivityPhp/Server/Http/HttpSignature.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class HttpSignature
([\w\-\.#\/@]+)
)",
(algorithm="(?P<algorithm>[\w\s-]+)",)?
(headers="\(request-target\) (?P<headers>[\w\s]+)",)?
(headers="\(request-target\) (?P<headers>[\w\s-]+)",)?
signature="(?P<signature>[\w+\/]+={0,2})"
/x';

Expand Down

0 comments on commit 0b98689

Please sign in to comment.