Rules - Handle missing values with coalesce()
The coalesce() function now returns the first non-nil argument, allowing you to provide fallback values in rule expressions for handling missing or undefined parameters.
The coalesce() function returns the first argument that is not nil. Use it to provide a fallback in rule expressions:
http.request.uri.path eq coalesce(http.request.uri.args["expected_path"][0], "/")
For details, refer to the coalesce() function reference.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.