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

fix(schema): the port value greater than 65535 should not be allowed #11043

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

xuruidong
Copy link
Contributor

Description

Fixes # (issue)

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@Revolyssup
Copy link
Contributor

@xuruidong Can you add a test case for this? Some test where you show that passing a port of higher number fails schema validation.

@xuruidong xuruidong marked this pull request as draft March 15, 2024 07:55
Signed-off-by: xuruidong <[email protected]>
@xuruidong xuruidong marked this pull request as ready for review March 19, 2024 08:09
@zll600
Copy link
Contributor

zll600 commented Mar 21, 2024

ping @Revolyssup @shreemaan-abhishek

@shreemaan-abhishek shreemaan-abhishek merged commit c0e3d91 into apache:master Mar 21, 2024
53 checks passed
@xuruidong xuruidong deleted the patch-1 branch March 22, 2024 01:59
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.

5 participants