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

refactor: replace a panic with an error when walking too deep on form mapping #3586

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thxCode
Copy link

@thxCode thxCode commented Apr 28, 2023

this PR is going to report an error rather than panic with stack overflow when walking too deep on form(or customized tag) mapping.

mitigate some cases like #2203, #1978.

Signed-off-by: thxCode <thxcode0824@gmail.com>
@thxCode
Copy link
Author

thxCode commented May 2, 2023

remove the last commit to keep compatibility with previous versions. https://github.com/gin-gonic/gin/actions/runs/4827373947/jobs/8633084284?pr=3586.

@thxCode
Copy link
Author

thxCode commented May 4, 2023

@appleboy PTAL

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.

None yet

1 participant