HTTP Headers leaking host via Platform

Just caught my HTTP Headers leak the host I’m using via the platform. I did some research and not sure exactly how to remove this or create a rule to remove it. Could someome help me or point me in the right direction to address this?

image

Platform is not a standard Cloudflare header, so this is probably being added on your Origin web server.

You can use a Cloudflare HTTP Response Header Transform Rule to remove that header.

4 Likes

That’s what I was playing with before I came to the support community, but couldn’t figure out to create the rule correctly.

Can you share a screenshot of what you have tried?

From the dashboard, Rules → Transform Rules → Modify Response Header → Create Rule

Enter a rule name.
Select “All incoming requests”
Then Select “Remove” and enter the header name, “Platform”
Once you hit deploy it can take a few minutes for the changes to be visible.

2 Likes

That fixed it. Appreciate the help.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.