@@ -568,15 +568,15 @@ class Util {
568568 if ( key . match ( / ^ u s e r s \/ / ) ) convertUser ( key , value ) ;
569569 else if ( key . match ( / ^ g l o b a l \/ u s e r s / ) ) appendList ( { key, value } ) ; // passthru
570570 else if ( key . match ( / ^ g l o b a l \/ p l u g i n s $ / ) ) appendList ( { key, value } ) ; // passthru
571- else if ( key . match ( / ^ g l o b a l \/ p l u g i n s \/ \d + $ / ) ) convertPluginPage ( key , value ) ;
571+ else if ( key . match ( / ^ g l o b a l \/ p l u g i n s \/ \- ? \ d+ $ / ) ) convertPluginPage ( key , value ) ;
572572 else if ( key . match ( / ^ g l o b a l \/ c a t e g o r i e s $ / ) ) appendList ( { key, value } ) ; // passthru
573- else if ( key . match ( / ^ g l o b a l \/ c a t e g o r i e s \/ \d + $ / ) ) convertCategoryPage ( key , value ) ;
573+ else if ( key . match ( / ^ g l o b a l \/ c a t e g o r i e s \/ \- ? \ d+ $ / ) ) convertCategoryPage ( key , value ) ;
574574 else if ( key . match ( / ^ g l o b a l \/ s e r v e r _ g r o u p s $ / ) ) appendList ( { key : 'global/groups' , value } ) ; // rename
575- else if ( key . match ( / ^ g l o b a l \/ s e r v e r _ g r o u p s \/ ( \d + ) $ / ) ) convertGroupPage ( 'global/groups/' + RegExp . $1 , value ) ;
575+ else if ( key . match ( / ^ g l o b a l \/ s e r v e r _ g r o u p s \/ ( \- ? \ d+ ) $ / ) ) convertGroupPage ( 'global/groups/' + RegExp . $1 , value ) ;
576576 else if ( key . match ( / ^ g l o b a l \/ s c h e d u l e $ / ) ) appendList ( { key : 'global/events' , value } ) ; // rename
577- else if ( key . match ( / ^ g l o b a l \/ s c h e d u l e \/ ( \d + ) $ / ) ) convertEventPage ( 'global/events/' + RegExp . $1 , value ) ;
577+ else if ( key . match ( / ^ g l o b a l \/ s c h e d u l e \/ ( \- ? \ d+ ) $ / ) ) convertEventPage ( 'global/events/' + RegExp . $1 , value ) ;
578578 else if ( key . match ( / ^ g l o b a l \/ a p i _ k e y s $ / ) ) appendList ( { key, value } ) ; // passthru
579- else if ( key . match ( / ^ g l o b a l \/ a p i _ k e y s \/ \d + $ / ) ) convertAPIKeyPage ( key , value ) ;
579+ else if ( key . match ( / ^ g l o b a l \/ a p i _ k e y s \/ \- ? \ d+ $ / ) ) convertAPIKeyPage ( key , value ) ;
580580 }
581581 catch ( err ) {
582582 return callback ( err ) ;
0 commit comments