-
Today I diagnosed a problem where Chrome sent
Originwithout a scheme (read:example.cominstead 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
Originwith 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