diff --git a/internal/engine/experiment/webconnectivity/httpanalysis.go b/internal/engine/experiment/webconnectivity/httpanalysis.go index f81baf1..757acac 100644 --- a/internal/engine/experiment/webconnectivity/httpanalysis.go +++ b/internal/engine/experiment/webconnectivity/httpanalysis.go @@ -186,7 +186,9 @@ func HTTPHeadersMatch(tk urlgetter.TestKeys, ctrl ControlResponse) *bool { // GetTitle returns the title or an empty string. func GetTitle(measurementBody string) string { - re := regexp.MustCompile(`(?i)([^<]{1,128})`) // like MK + // MK used {1,128} but we're making it larger here to get longer titles + // e.g. 's one + re := regexp.MustCompile(`(?i)([^<]{1,512})`) v := re.FindStringSubmatch(measurementBody) if len(v) < 2 { return ""