feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
func TestPublicUpstreamErrorContent(t *testing.T) {
|
||||
got := publicUpstreamErrorContent(502)
|
||||
if strings.Contains(got, "example-provider") || strings.Contains(got, "provider") || strings.Contains(got, "upstream") {
|
||||
if strings.Contains(got, "private-vendor") || strings.Contains(got, "provider") || strings.Contains(got, "upstream") {
|
||||
t.Fatalf("upstream details leaked: %q", got)
|
||||
}
|
||||
if !strings.Contains(got, "status_code=502") || !strings.Contains(got, publicUpstreamErrorMessage) {
|
||||
|
||||
Reference in new issue
Block a user