diff --git a/http/vulnerabilities/nextjs/nextjs-rsc-cache.yaml b/http/vulnerabilities/nextjs/nextjs-rsc-cache.yaml index 5bd14ef72297..a03b25d6bdad 100644 --- a/http/vulnerabilities/nextjs/nextjs-rsc-cache.yaml +++ b/http/vulnerabilities/nextjs/nextjs-rsc-cache.yaml @@ -45,7 +45,6 @@ http: matchers: - type: dsl dsl: - - "status_code_2 == 200 && contains(content_type_2, 'text/x-component')" - - "status_code_3 == 200 && contains(content_type_3, 'text/x-component')" - condition: and -# digest: 4a0a00473045022020a98f647548f9a981bfd5a519794701349cba6fa48633e758c913c95eeba598022100ecc81290bf7450efe3180b2fbe3d7cd15ba67723fc669e4fbf62cf79c709fadf:922c64590222798bb761d5b6d8e72950 \ No newline at end of file + - "status_code_2 == 200 && contains(content_type_2, 'text/x-component') && !contains(cache_control_2, 'no-cache') && !contains(pragma_2, 'no-cache')" + - "status_code_3 == 200 && contains(content_type_3, 'text/x-component') && !contains(cache_control_3, 'no-cache') && !contains(pragma_3, 'no-cache')" + condition: and \ No newline at end of file