@ -377,12 +377,12 @@ public class RequestResponseBodyMethodProcessorTests {
@@ -377,12 +377,12 @@ public class RequestResponseBodyMethodProcessorTests {
assertContentDisposition ( processor , false , "/hello.json" , "whitelisted extension" ) ;
assertContentDisposition ( processor , false , "/hello.pdf" , "registered extension" ) ;
assertContentDisposition ( processor , true , "/hello.dataless" , "uknown extension" ) ;
assertContentDisposition ( processor , true , "/hello.dataless" , "un known extension" ) ;
// path parameters
assertContentDisposition ( processor , false , "/hello.json;a=b" , "path param shouldn't cause issue" ) ;
assertContentDisposition ( processor , true , "/hello.json;a=b;setup.dataless" , "uknown ext in path params" ) ;
assertContentDisposition ( processor , true , "/hello.dataless;a=b;setup.json" , "uknown ext in filename" ) ;
assertContentDisposition ( processor , true , "/hello.json;a=b;setup.dataless" , "un known ext in path params" ) ;
assertContentDisposition ( processor , true , "/hello.dataless;a=b;setup.json" , "un known ext in filename" ) ;
assertContentDisposition ( processor , false , "/hello.json;a=b;setup.json" , "whitelisted extensions" ) ;
// encoded dot