gin
gin copied to clipboard
chore(Redirect): Added to prevent the redirect location from being empty in debug mode
I think this RP cannot really solve the problem of redirection to other domains, but it can remind developers in the development state Try not to let this problem appear in the production environment as much as possible
see: https://github.com/gin-gonic/gin/issues/3995
Codecov Report
Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
Project coverage is 98.75%. Comparing base (
3dc1cd6) to head (28dffeb). Report is 68 commits behind head on master.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| context.go | 0.00% | 2 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #4011 +/- ##
==========================================
- Coverage 99.21% 98.75% -0.47%
==========================================
Files 42 44 +2
Lines 3182 2802 -380
==========================================
- Hits 3157 2767 -390
- Misses 17 21 +4
- Partials 8 14 +6
| Flag | Coverage Δ | |
|---|---|---|
? |
||
| -tags "sonic avx" | 98.74% <0.00%> (?) |
|
| -tags go_json | 98.74% <0.00%> (?) |
|
| -tags nomsgpack | 98.73% <0.00%> (?) |
|
| go-1.18 | ? |
|
| go-1.19 | ? |
|
| go-1.20 | ? |
|
| go-1.21 | 98.75% <0.00%> (-0.47%) |
:arrow_down: |
| go-1.22 | 98.75% <0.00%> (?) |
|
| macos-latest | 98.75% <0.00%> (-0.47%) |
:arrow_down: |
| ubuntu-latest | 98.75% <0.00%> (-0.47%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.