mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-03 12:18:50 +08:00
Merge pull request #171 from happyday517/dev
fix: UploadingContext相关参数并没有传入的问题
This commit is contained in:
commit
d9bbd80868
@ -67,7 +67,11 @@ public class WhaleFilterStarter implements WebFilterFace {
|
||||
params.put("http.method_override", conf.get(PROP_HTTP_METHOD_OVERRIDE));
|
||||
}
|
||||
if (conf.has(PROP_HIDDEN_UPLOAD_ENABLE)) {
|
||||
params.put("upload.enable", conf.get(PROP_HIDDEN_UPLOAD_ENABLE));
|
||||
conf.keys().stream()
|
||||
.filter(key -> key.startsWith("nutz.mvc.whale.upload"))
|
||||
.forEach(key -> {
|
||||
params.put(key.substring(15), conf.get(key));
|
||||
});
|
||||
}
|
||||
return params;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user