This is Postel's Law, aka the Principle of Robustness:
"be conservative in what you send, be liberal in what you accept"
https://en.wikipedia.org/wiki/Robustness_principle