Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the provided Zendesk subdomain #466

Merged
merged 3 commits into from
Apr 28, 2021

Conversation

thekindofme
Copy link
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

@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

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

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