From 09e18d25d35a2400e6a4c8ef1b877d342e301a65 Mon Sep 17 00:00:00 2001 From: Jacob H Date: Tue, 30 May 2017 22:39:01 +0300 Subject: [PATCH] Update contact_me.js Fixing XSS Vulnerability by removing the FirstName variable --- js/contact_me.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/contact_me.js b/js/contact_me.js index c7b1ccc..d9efebd 100755 --- a/js/contact_me.js +++ b/js/contact_me.js @@ -45,7 +45,7 @@ $(function() { $('#success').html("
"); $('#success > .alert-danger').html(""); - $('#success > .alert-danger').append("Sorry " + firstName + ", it seems that my mail server is not responding. Please try again later!"); + $('#success > .alert-danger').append("Sorry, it seems that my mail server is not responding. Please try again later!"); $('#success > .alert-danger').append('
'); //clear all fields $('#contactForm').trigger("reset");