Skip to content

Fix Cf-Ray HTTP header not being logged

Stan Hu requested to merge sh-fix-cfray-log into master

The Cf-Ray header ends with a suffix of the datacenter (e.g. -IAD), and the regex did not properly handle the dash. This change fixes the regexp to allow for alphanumeric characters and the dash.

Edited by Stan Hu

Merge request reports