You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
🆙 Camera Security fix / small fix for beds
- Validate data URL format (must start with data:image/png) - Validate PNG magic bytes on binary data before sending - Enforce 2MB size limit matching server - Add try/catch around atob() to handle invalid base64 gracefully - Fix XSS vulnerability in editor download: replace unsafe window.open()+document.write() with safe anchor-based download that also validates data URL scheme
This commit is contained in:
@@ -30,7 +30,7 @@ export class AvatarVisualization extends RoomObjectSpriteVisualization implement
|
||||
private static BASE_Y_SCALE: number = 1000;
|
||||
private static AVATAR_SPRITE_DEFAULT_DEPTH: number = -0.01;
|
||||
private static AVATAR_OWN_DEPTH_ADJUST: number = 0.001;
|
||||
private static AVATAR_SPRITE_LAYING_DEPTH: number = 0.2;
|
||||
private static AVATAR_SPRITE_LAYING_DEPTH: number = 0.002;
|
||||
|
||||
protected _data: AvatarVisualizationData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user