fixed a security issue in getinfo.java