Skip to content

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

Merged
shreemaan-abhishek merged 3 commits into
apache:masterfrom
xuruidong:patch-1
Mar 21, 2024
Merged

fix(schema): the port value greater than 65535 should not be allowed#11043
shreemaan-abhishek merged 3 commits into
apache:masterfrom
xuruidong:patch-1

Conversation

@xuruidong

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

zll600 commented Mar 21, 2024

Copy link
Copy Markdown
Contributor

ping @Revolyssup @shreemaan-abhishek

@shreemaan-abhishek
shreemaan-abhishek merged commit c0e3d91 into apache:master Mar 21, 2024
@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