-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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 request #4588
Validate the request #4588
Conversation
6f48aec
to
517d46a
Compare
517d46a
to
e35180f
Compare
e35180f
to
abe23ca
Compare
@yeasy I think you also need to update the tests to adjust to your changes. |
Fixed now. |
db2f5ea
to
8c68f29
Compare
Checking with goimports
The following files contain goimports errors
internal/pkg/gateway/commitstatus_test.go
make: *** [Makefile:182: linter] Error 1
The goimports command 'goimports -l -w' must be run for these files
Error: Process completed with exit code 2. thanks, almost there, a little nit, please make sure to also pass basic checks. |
@yeasy hey, do you have any ETA whenever you will be able to finalize your PR? |
The patchset adds validation to the request before using it. This can help protect from mal-formed request. Change-Id: Ic6a7a65d6da289d84fe82c3f6e048e396b1f1a0e Signed-off-by: Baohua Yang <yangbaohua@gmail.com> Signed-off-by: Baohua Yang <baohua.yang@oracle.com>
8c68f29
to
a82dc92
Compare
Done! Let's see how it works. |
The patchset adds validation to the request before using it.
Change-Id: Ic6a7a65d6da289d84fe82c3f6e048e396b1f1a0e
Type of change
Description
The patchset adds validation to the request before using it.
This can help protect from malformed request.
Additional details
N/A
Related issues
N/A
Release Note
N/A