fix(regex): add timeout

This commit is contained in:
Julien Neuhart
2026-04-02 21:58:44 +02:00
parent 8b65315a09
commit cfb48d9af4

View File

@@ -202,6 +202,7 @@ func FormDataChromiumOptions(ctx *api.Context) (*api.FormData, Options) {
err = errors.Join(err, fmt.Errorf("invalid scope regex pattern for header '%s': %w", k, errCompile))
continue
}
p.MatchTimeout = 5 * time.Second
scopeRegexp = p
}