Hardcode fix for Xss and java 7