Plugin Directory

Changeset 1410445


Ignore:
Timestamp:
05/04/2016 03:58:22 PM (10 years ago)
Author:
vikinguard
Message:

fixed escape

Location:
vikinguard/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vikinguard/trunk/heimdal.js

    r1303149 r1410445  
    8989
    9090                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));
     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));
    9595
    9696            }
     
    183183        signupcallbackajax(
    184184                "https://vikinguard.com/heimdalapp/api/external/customer?customerName="
    185                         + escape(customerName) + "&mail=" + escape(email) + "&password="
    186                         + escape(password) + "&shopName=" + escape(shopURL), error).done(
     185                        + encodeURIComponent(customerName) + "&mail=" + encodeURIComponent(email) + "&password="
     186                        + encodeURIComponent(password) + "&shopName=" + encodeURIComponent(shopURL), error).done(
    187187                function(data, statusCode) {
    188188
     
    217217       
    218218                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));
     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));
    223223            }
    224224        },
  • vikinguard/trunk/readme.txt

    r1407226 r1410445  
    44Requires at least: 2.1
    55Tested up to: 4.5
    6 Stable tag: 1.2.1
     6Stable tag: 1.2.2
    77
    88With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected.
     
    5656
    5757= 1.2.1 =
    58 * Fix bug enqueing scripts
     58* JavaScript bug register fixed.
    5959
     60= 1.2.2 =
     61* Fixed js escape
    6062
Note: See TracChangeset for help on using the changeset viewer.