kinetex - v1.0.0-rc.1
    Preparing search index...

    Function pathMatch

    • Path matching per RFC 6265 §5.1.4 — checks whether a cookie path matches a request path. Both paths are normalized before comparison.

      Parameters

      • requestPath: string

        Request URI path (e.g., "/foo/bar/baz")

      • cookiePath: string

        Cookie Path attribute (e.g., "/foo")

      Returns boolean

      true if the cookie path matches the request path