File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ function wifiNetworks(callback) {
402402 } ) ;
403403 if ( iface ) {
404404 let ifaceSanitized = '' ;
405- const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( iface ) ;
405+ const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( iface , true ) ;
406406 for ( let i = 0 ; i <= util . mathMin ( s . length , 2000 ) ; i ++ ) {
407407 if ( s [ i ] !== undefined ) {
408408 ifaceSanitized = ifaceSanitized + s [ i ] ;
@@ -538,7 +538,7 @@ function wifiConnections(callback) {
538538 const networkList = getWifiNetworkListNmi ( ) ;
539539 ifaces . forEach ( ifaceDetail => {
540540 let ifaceSanitized = '' ;
541- const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( ifaceDetail . iface ) ;
541+ const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( ifaceDetail . iface , true ) ;
542542 for ( let i = 0 ; i <= util . mathMin ( s . length , 2000 ) ; i ++ ) {
543543 if ( s [ i ] !== undefined ) {
544544 ifaceSanitized = ifaceSanitized + s [ i ] ;
You can’t perform that action at this time.
0 commit comments