Commit 9bc087f
committed
Fix architectural and functional issues in PocketMC
- Deleted empty scaffolding UnitTest1.cs files in test projects to clean up tests
- Ensured RCON 'save-all' during backups fully awaits via 'save-all flush' and explicitly verified return messages to avoid world corruption
- Secured RemoteDashboardHost by adding CORS and an anti-CSRF check requiring an X-Requested-With header on POST requests
- Enforced a hard memory cap of 5000 lines on console output history to prevent OOM
- Optimized ResourceMonitorService polling to gracefully back off to 10s intervals when the application window is minimized
- Added X-Requested-With header to integration tests to bypass Anti-CSRF successfully1 parent 274dac6 commit 9bc087f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments