Vikinguard - Version 1.2.2

Version Description

Download this release

Release Info

Developer vikinguard
Plugin Icon 128x128 Vikinguard
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

Files changed (2) hide show
  1. heimdal.js +10 -10
  2. readme.txt +4 -2
heimdal.js CHANGED
@@ -88,10 +88,10 @@ function remembercallbackajax(uri, data, check, error) {
88
  var password = document.getElementById("signinPassword").value;
89
 
90
  window.location.replace(window.location.href
91
- + "&action=configured&heimdalapm_email=" + escape(email)
92
- + "&heimdalapm_password=" + escape(password)
93
- + "&heimdalapm_customer=" + escape(json.customerId)
94
- + "&heimdalapm_shop=" + escape(json.shops[0].shopId));
95
 
96
  }
97
  },
@@ -182,8 +182,8 @@ function signup(heimdalapm_email, adviseShort, adviseStart, advisePassword,
182
 
183
  signupcallbackajax(
184
  "https://vikinguard.com/heimdalapp/api/external/customer?customerName="
185
- + escape(customerName) + "&mail=" + escape(email) + "&password="
186
- + escape(password) + "&shopName=" + escape(shopURL), error).done(
187
  function(data, statusCode) {
188
 
189
  });
@@ -216,10 +216,10 @@ function signupcallbackajax(uri, data, error) {
216
  var password = document.getElementById("signupPassword").value;
217
 
218
  window.location.replace(window.location.href
219
- + "&action=configured&heimdalapm_email=" + escape(email)
220
- + "&heimdalapm_password=" +escape(password)
221
- + "&heimdalapm_customer=" + escape(json.customerId)
222
- + "&heimdalapm_shop=" + escape(json.shops[0].shopId));
223
  }
224
  },
225
  error : function(e) {
88
  var password = document.getElementById("signinPassword").value;
89
 
90
  window.location.replace(window.location.href
91
+ + "&action=configured&heimdalapm_email=" + encodeURIComponent(email)
92
+ + "&heimdalapm_password=" + encodeURIComponent(password)
93
+ + "&heimdalapm_customer=" + encodeURIComponent(json.customerId)
94
+ + "&heimdalapm_shop=" + encodeURIComponent(json.shops[0].shopId));
95
 
96
  }
97
  },
182
 
183
  signupcallbackajax(
184
  "https://vikinguard.com/heimdalapp/api/external/customer?customerName="
185
+ + encodeURIComponent(customerName) + "&mail=" + encodeURIComponent(email) + "&password="
186
+ + encodeURIComponent(password) + "&shopName=" + encodeURIComponent(shopURL), error).done(
187
  function(data, statusCode) {
188
 
189
  });
216
  var password = document.getElementById("signupPassword").value;
217
 
218
  window.location.replace(window.location.href
219
+ + "&action=configured&heimdalapm_email=" + encodeURIComponent(email)
220
+ + "&heimdalapm_password=" +encodeURIComponent(password)
221
+ + "&heimdalapm_customer=" + encodeURIComponent(json.customerId)
222
+ + "&heimdalapm_shop=" + encodeURIComponent(json.shops[0].shopId));
223
  }
224
  },
225
  error : function(e) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: vikinguard
3
  Tags: vikinguard, real user monitoring, rum, web performance, user experience, availability, seo,uptime, availability
4
  Requires at least: 2.1
5
  Tested up to: 4.5
6
- Stable tag: 1.2.1
7
 
8
  With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected.
9
 
@@ -55,6 +55,8 @@ Vikinguard uses a JavaScript snippet to collect performance data from the users
55
  * Sign up bug fixed.
56
 
57
  = 1.2.1 =
58
- * Fix bug enqueing scripts
59
 
 
 
60
 
3
  Tags: vikinguard, real user monitoring, rum, web performance, user experience, availability, seo,uptime, availability
4
  Requires at least: 2.1
5
  Tested up to: 4.5
6
+ Stable tag: 1.2.2
7
 
8
  With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected.
9
 
55
  * Sign up bug fixed.
56
 
57
  = 1.2.1 =
58
+ * JavaScript bug register fixed.
59
 
60
+ = 1.2.2 =
61
+ * Fixed js escape
62