Fetch requests in Cloudflare Workers use http by default, even if you explicitly specify https, which can often cause redirect loops.
The creators of the Immich photo hosting app have a page for Cursed Knowledge and the concept really resonated with me. In particular two really stood out, the JavaScript Dates indexing, and the Cloudflare workers redirect loop problem. I have without any shame ripped off that concept and intend to add to it as I go along in my journey.
Fetch requests in Cloudflare Workers use http by default, even if you explicitly specify https, which can often cause redirect loops.
JavaScript date objects are 1 indexed for years and days, but 0 indexed for months.
That the BSD version of Grep, Sed etc are not the same as the GNU versions of the same tools and important args don’t always exist. Leading to your scripts either checking for ggrep gsed etc, or checking to see if its the GNU one and failing if not or some other arcane nonsense.
The Cisco ASA firmware upgrade from 8.2 to 8.3, despite being a minor version, contains a breaking change and fundamentally changed NAT.