function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lavanya g 9lavanya g 9 

Cross-site script (XSS) vulnerability

can anyone help me out to solve the below 2 lines code in lightning component.

var winSearch = decodeURIComponent(window.location.search).split("/");
        var winPath = decodeURIComponent(window.location.pathname).split("/");