mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	Merge pull request #1453 from mkauschi/add-cache-control-header-check
Check for the Cache-Control and Pragma header
This commit is contained in:
		@@ -3035,7 +3035,7 @@ run_cookie_flags() {     # ARG1: Path
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
run_security_headers() {
 | 
					run_security_headers() {
 | 
				
			||||||
     local good_header="X-Frame-Options X-XSS-Protection X-Content-Type-Options Content-Security-Policy X-Content-Security-Policy X-WebKit-CSP Content-Security-Policy-Report-Only Expect-CT"
 | 
					     local good_header="X-Frame-Options X-XSS-Protection X-Content-Type-Options Content-Security-Policy X-Content-Security-Policy X-WebKit-CSP Content-Security-Policy-Report-Only Expect-CT"
 | 
				
			||||||
     local other_header="Access-Control-Allow-Origin Upgrade X-Served-By Referrer-Policy X-UA-Compatible"
 | 
					     local other_header="Access-Control-Allow-Origin Upgrade X-Served-By Referrer-Policy X-UA-Compatible Cache-Control Pragma"
 | 
				
			||||||
     local header header_output
 | 
					     local header header_output
 | 
				
			||||||
     local first=true
 | 
					     local first=true
 | 
				
			||||||
     local spaces="                              "
 | 
					     local spaces="                              "
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user