How to allow dot (.) in headers

I have a legacy application that passes dot (.) in http headers (eg. my.header). I understand that cloudflare strips headers with dot. Is there away to allow such known headers with dot?

Thanks

It is a request header. An example would be R.2 as the header name.

Probably only with enterprise, if possible you should use headers with dashes instead, eg r-2. It’s also good practice to prepend x- to headers your application wants (as opposed to headers intended to control HTTP features), eg x-r2.

Here’s the background on why dashes are preferred https://github.com/symfony/symfony/issues/18003#issuecomment-192520463

This topic was automatically closed after 30 days. New replies are no longer allowed.