mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
fix(v0.11): 第五轮走查——事件路由 Class 比较、映射只读视图、监听器日志与文件名回退
- EventHandlerMapping / CloudwalkEventInitializing:用 Objects.equals 比较事件原型与入参 Class,避免反编译式链式比较隐患。
- EventHandlerMapping:getHandlerMap 等对外返回 Collections.unmodifiableMap,防止误改内部注册表。
- GroupEventListener:改为实例级 logger(getClass()),子类日志可区分。
- AbstractCloudwalkController:URLEncoder 失败时回退原始文件名,避免 Content-Disposition 收到 null。
Made-with: Cursor
Former-commit-id: b565ce0658
This commit is contained in:
+1
-1
@@ -76,6 +76,6 @@ public abstract class AbstractCloudwalkController {
|
||||
} catch (Exception e) {
|
||||
this.LOGGER.error("转换文件名字符类型失败,原因:", e);
|
||||
}
|
||||
return codedFilename;
|
||||
return codedFilename != null ? codedFilename : fileNames;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user