Skip to content

HAMUR_W2005: A CORS origin pattern with credentials also matches http origins

A CORS origin pattern with credentials also matches http origins. Warning HAMUR_W2005 belongs to hamur, server (2001 – 2999).

Message

text
HAMUR_W2005 routeRules["<pattern>"].cors: <looseOriginWarning>

Cause

A routeRules entry has cors with credentials and an origin pattern that also matches http: origins.

Fix

Write the origins with https://, or match fewer origins.