mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 17:34:00 +00:00 
			
		
		
		
	mask whole url
This commit is contained in:
		
							parent
							
								
									eca7c65a55
								
							
						
					
					
						commit
						5b6ae99d8b
					
				
							
								
								
									
										1
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							| @ -5741,6 +5741,7 @@ class CacheServiceClient { | |||||||
|         const sigMatch = url.match(/[?&]sig=([^&]+)/); |         const sigMatch = url.match(/[?&]sig=([^&]+)/); | ||||||
|         if (sigMatch) { |         if (sigMatch) { | ||||||
|             (0, core_1.setSecret)(sigMatch[1]); |             (0, core_1.setSecret)(sigMatch[1]); | ||||||
|  |             (0, core_1.setSecret)(url); | ||||||
|             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); |             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							| @ -5741,6 +5741,7 @@ class CacheServiceClient { | |||||||
|         const sigMatch = url.match(/[?&]sig=([^&]+)/); |         const sigMatch = url.match(/[?&]sig=([^&]+)/); | ||||||
|         if (sigMatch) { |         if (sigMatch) { | ||||||
|             (0, core_1.setSecret)(sigMatch[1]); |             (0, core_1.setSecret)(sigMatch[1]); | ||||||
|  |             (0, core_1.setSecret)(url); | ||||||
|             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); |             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							| @ -5741,6 +5741,7 @@ class CacheServiceClient { | |||||||
|         const sigMatch = url.match(/[?&]sig=([^&]+)/); |         const sigMatch = url.match(/[?&]sig=([^&]+)/); | ||||||
|         if (sigMatch) { |         if (sigMatch) { | ||||||
|             (0, core_1.setSecret)(sigMatch[1]); |             (0, core_1.setSecret)(sigMatch[1]); | ||||||
|  |             (0, core_1.setSecret)(url); | ||||||
|             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); |             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							| @ -5741,6 +5741,7 @@ class CacheServiceClient { | |||||||
|         const sigMatch = url.match(/[?&]sig=([^&]+)/); |         const sigMatch = url.match(/[?&]sig=([^&]+)/); | ||||||
|         if (sigMatch) { |         if (sigMatch) { | ||||||
|             (0, core_1.setSecret)(sigMatch[1]); |             (0, core_1.setSecret)(sigMatch[1]); | ||||||
|  |             (0, core_1.setSecret)(url); | ||||||
|             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); |             (0, core_1.debug)(`Masked ${urlType}: ${url.replace(sigMatch[1], '***')}`); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user