mirror of
https://github.com/acme-dns/acme-dns-client.git
synced 2026-04-25 21:35:57 +03:00
[PR #2] [MERGED] Fix register omitting -allow causing 400 invalid_allowfrom_cidr #19
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-client/pull/2
Author: @JonathanGawrych
Created: 2/15/2021
Status: ✅ Merged
Merged: 2/16/2021
Merged by: @joohoi
Base:
master← Head:jag/fix-empty-allow-from📝 Commits (1)
e17ad9aFix register omitting -allow causing 400 invalid_allowfrom_cidr📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
pkg/client/register.go(+4 -1)📄 Description
If you attempt to register to joohoi/acme-dns server without specifying an allow flag, the request sent to the server is an array containing the empty string
[""], which responds with 400invalid_allowfrom_cidr. Instead, this fix makes omitting allow send an empty array[]which allows registration to work correctly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.