File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed 
web/src/main/java/org/springframework/security/web/firewall Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11/* 
2-  * Copyright 2012-2021  the original author or authors. 
2+  * Copyright 2012-2023  the original author or authors. 
33 * 
44 * Licensed under the Apache License, Version 2.0 (the "License"); 
55 * you may not use this file except in compliance with the License. 
@@ -830,8 +830,8 @@ private void validateAllowedHeaderName(String headerNames) {
830830
831831		private  void  validateAllowedHeaderValue (String  name , String  value ) {
832832			if  (!StrictHttpFirewall .this .allowedHeaderValues .test (value )) {
833- 				throw  new  RequestRejectedException (
834- 						"The request was rejected because the header:  \" "  +  name   + " \"  has a value \" "  + value  + "\"  that is not allowed." );
833+ 				throw  new  RequestRejectedException ("The request was rejected because the header:  \" "  +  name 
834+ 						+ " \"  has a value \" "  + value  + "\"  that is not allowed." );
835835			}
836836		}
837837
@@ -844,8 +844,8 @@ private void validateAllowedParameterName(String name) {
844844
845845		private  void  validateAllowedParameterValue (String  name , String  value ) {
846846			if  (!StrictHttpFirewall .this .allowedParameterValues .test (value )) {
847- 				throw  new  RequestRejectedException (
848- 						"The request was rejected because the parameter:  \" "  +  name   + " \"  has a value \" "  + value  + "\"  that is not allowed." );
847+ 				throw  new  RequestRejectedException ("The request was rejected because the parameter:  \" "  +  name 
848+ 						+ " \"  has a value \" "  + value  + "\"  that is not allowed." );
849849			}
850850		}
851851
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments