Closed johntconklin closed 5 years ago
Question is how many systems these days use PHP < 5.2. Anything less than 5.3 or even perhaps 5.4 has unpatched security issues. I am not convinced this should be merged.
Some arguments for integrating the change:
It should be compatible with RHEL 6 and php 5.3.3 now, there is a Travis test for it: 5a38f6a9da580514fc86546d6058992ace81e59a (php 5.3: https://travis-ci.org/ganglia/ganglia-web/jobs/138576759)
If Travis supports even older versions, then maybe we could test for 5.1.6 as well ?
And I also think that these two isolated uses of filter_input
look odd, anyway.
Nope, there is no Travis support for php 5.1 - maybe it is time to upgrade (to "php53") ? https://travis-ci.org/ganglia/ganglia-web/jobs/143943691
Closing this as it's very old.
This change avoids filter_input(), for systems with older PHP versions like RHEL/Centos 5.X.