File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ function wifiNetworks(callback) {
402
402
} ) ;
403
403
if ( iface ) {
404
404
let ifaceSanitized = '' ;
405
- const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( iface ) ;
405
+ const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( iface , true ) ;
406
406
for ( let i = 0 ; i <= util . mathMin ( s . length , 2000 ) ; i ++ ) {
407
407
if ( s [ i ] !== undefined ) {
408
408
ifaceSanitized = ifaceSanitized + s [ i ] ;
@@ -538,7 +538,7 @@ function wifiConnections(callback) {
538
538
const networkList = getWifiNetworkListNmi ( ) ;
539
539
ifaces . forEach ( ifaceDetail => {
540
540
let ifaceSanitized = '' ;
541
- const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( ifaceDetail . iface ) ;
541
+ const s = util . isPrototypePolluted ( ) ? '---' : util . sanitizeShellString ( ifaceDetail . iface , true ) ;
542
542
for ( let i = 0 ; i <= util . mathMin ( s . length , 2000 ) ; i ++ ) {
543
543
if ( s [ i ] !== undefined ) {
544
544
ifaceSanitized = ifaceSanitized + s [ i ] ;
You can’t perform that action at this time.
0 commit comments