Skip to content

Suspicious regex: field-context heuristics #48

Description

@jonasbb

https://github.com/doctena-org/octorules-cloudflare/blob/ac57450/docs/lint/stage2-per-rule.md#cf543--substring-index-out-of-bounds-or-inverted

Fields in scope:

Hostname / URI fields: http.host, http.referer, http.request.uri, http.request.uri.path, http.request.full_uri, cf.worker.upstream_zone, plus the raw.* request-URI variants.
X.509 Distinguished Name fields (the CN= portion is hostname-style; OIDs need the same escaping): cf.tls_client_auth.cert_subject_dn, cert_subject_dn_legacy, cert_subject_dn_rfc2253, cert_issuer_dn, cert_issuer_dn_legacy, cert_issuer_dn_rfc2253.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions