Skip to content

Allow tokens which have hyphens and underscores#1

Open
abielefeldt wants to merge 2 commits intoivangrozni:masterfrom
abielefeldt:master
Open

Allow tokens which have hyphens and underscores#1
abielefeldt wants to merge 2 commits intoivangrozni:masterfrom
abielefeldt:master

Conversation

@abielefeldt
Copy link

Cloudflare API tokens may contain hyphens and underscores, but such keys get rejected by the ctype_alnum function. This patch resolves that issue and also clearly defines the differences between requirements for global keys and API tokens in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant