File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,9 @@ Cam.prototype.digestAuth = function(wwwAuthenticate, reqOptions) {
405405 ha1 . update ( [ this . username , challenge . realm , this . password ] . join ( ':' ) ) ;
406406
407407 // Sony SRG-XP1 sends qop="auth,auth-int" it means the Server will accept either "auth" or "auth-int". We select "auth"
408- if ( typeof challenge . qop === 'string' && challenge . qop === 'auth,auth-int' ) challenge . qop = 'auth' ;
408+ if ( typeof challenge . qop === 'string' && challenge . qop === 'auth,auth-int' ) {
409+ challenge . qop = 'auth' ;
410+ }
409411
410412 const ha2 = crypto . createHash ( 'md5' ) ;
411413 ha2 . update ( [ reqOptions . method , reqOptions . path ] . join ( ':' ) ) ;
Original file line number Diff line number Diff line change @@ -383,7 +383,9 @@ module.exports = function(Cam) {
383383 // Nov 2025 - skip over 'extension'
384384 configOptions . ptzspaces = [ ] ;
385385 for ( const key of Object . keys ( sp ) ) {
386- if ( key == 'extension' ) continue ;
386+ if ( key == 'extension' ) {
387+ continue ;
388+ }
387389 for ( const item of sp [ key ] ) {
388390 let data = {
389391 name : key ,
You can’t perform that action at this time.
0 commit comments