Skip to content

Validate the provided Zendesk subdomain#466

Merged
thekindofme merged 3 commits intomasterfrom
validate-zendesk-subdomain
Apr 28, 2021
Merged

Validate the provided Zendesk subdomain#466
thekindofme merged 3 commits intomasterfrom
validate-zendesk-subdomain

Conversation

@thekindofme
Copy link
Copy Markdown
Contributor

@thekindofme thekindofme commented Apr 13, 2021

Validate the provided Zendesk subdomain to be a valid subdomain in:

  • getAuthUrl
  • getAccessToken

- Each subdomain part must have a length no greater than 63.
- Each subdomain part must begin and end with an alpha-numeric (i.e. letters [A-Za-z] or digits [0-9]).
- Each subdomain part may contain hyphens (dashes), but may not begin or end with a hyphen.
@thekindofme thekindofme merged commit b451b74 into master Apr 28, 2021
@thekindofme thekindofme deleted the validate-zendesk-subdomain branch April 28, 2021 21:55
@dmitryokov
Copy link
Copy Markdown

@thekindofme how about updating the meta in composer repo? There is still an old 2.2.10 version and cannot be updated.
https://packagist.org/packages/zendesk/zendesk_api_client_php

@Kynth
Copy link
Copy Markdown

Kynth commented Apr 29, 2021

Seconded - could you update Packagist with the 2.2.11 release for Composer to pick up please?

sanmai added a commit to sanmai/zendesk_api_client_php that referenced this pull request Nov 16, 2021
@sanmai
Copy link
Copy Markdown

sanmai commented Nov 16, 2021

Hey folks, if you would like to review a backport of this fix to the previous version in #477, please be my guest. Thanks!

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.

7 participants