Remove Discourse meta tag

(Steve Diện) #1

As tiitle, how to remove Discourse Meta Tag Generator when I right click to view source.

(Sam Saffron) #2

This is not configurable, what exactly are you trying to remove and why?


Discourse currently adds a <meta name="generator"> tag to every page which includes the exact version of Discourse installed down to the git commit hash. This is a potential security hazard because it very clearly broadcasts what software and what specific version is installed, meaning if a zero-day exploit comes out or anyone lags behind in their updates for various legitimate reasons, they are broadcasting their vulnerability.

It would be nice to be able to suppress this tag via admin configuration.

(Jeff Atwood) #4

Already covered at some length in


(system) #5

(Joshua Rosenfeld) #6