mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 12:55:48 +03:00
[PR #155] auth: using headers is optional #328
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#328
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/acme-dns/acme-dns/pull/155
Author: @tcely
Created: 3/3/2019
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (10+)
609c9a1add getValidSubdomain function05e8d6aadd GetBySubdomain function67dc8a2auth: using headers is optional8dcc8dcapi_test: change expected result2739213add additional tests33c5c58use getValidSubdomain for validSubdomain443fbb1update docs for /update inputs43de7baOutput fulldomain with txt valued2bc627Marshal /update response toodcee58fadjust positive and negative TTL values📊 Changes
10 files changed (+358 additions, -44 deletions)
View changed files
📝
README.md(+4 -3)📝
api.go(+13 -1)📝
api_test.go(+186 -1)📝
auth.go(+47 -34)📝
db.go(+43 -0)📝
db_test.go(+27 -1)📝
dns.go(+2 -2)📝
types.go(+1 -0)📝
validation.go(+9 -1)📝
validation_test.go(+26 -1)📄 Description
The POST data now contains:
This still checks
X-Api-KeyandX-Api-Userfor backwards compatibility. If a user is provided we'll still check it, but it is now optional.This should address most of https://github.com/joohoi/acme-dns/issues/77 too.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.