Merge pull request #3995 from rajatsharma94/develop

set_realpath IP check