1
1
Fork 0

WKD: Fix alias detection
All checks were successful
ci/woodpecker/push/woodpecker.exo Pipeline was successful

This commit is contained in:
xtex 2024-02-24 16:56:47 +08:00
parent 629516bd9a
commit 8af9792e17
Signed by: xtex
GPG key ID: B918086ED8045B91

View file

@ -105,7 +105,8 @@ object-src 'none';
handle /.well-known/openpgpkey/* {
header Access-Control-Allow-Origin *
@wkdprefixed `{query.l}.startsWith("xtex+")`
# Some clients are not encoding plus correctly
@wkdprefixed `{query.l}.startsWith("xtex+") || {query.l}.startsWith("xtex ")`
rewrite @wkdprefixed /.well-known/openpgpkey/hu/q1fcwzmim1dtwtbc5k396hwt78cwzujb
header /.well-known/openpgpkey/hu/* Content-Type application/octet-stream