-
Today I diagnosed a problem where Chrome sent
Origin
without a scheme (read:example.com
instead of https: / / example.com). This broke our CORS whitelist. It might break yours too. Heads up. (Related: remember to cacheVary: Origin
, friends!) -
…and now the “same” Chrome is sending the
Origin
with a trailing slash. The correct syntax is:scheme "://" host [ ":" port ]
No path. Some days software is straight-up out to gaslight me. tools.ietf.org/html/rfc6454#section-7