Skip to content

Commit bee4c23

Browse files
authored
Refactored validation functions
1 parent 3dc6b6c commit bee4c23

2 files changed

Lines changed: 50 additions & 481 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Changelog for EngineScript: Simple Site Exporter
22

3-
## 1.5.7 - May 1, 2025
3+
## 1.5.8 - May 1, 2025
4+
### Code Quality Improvements
5+
- Refactored validation functions to eliminate code duplication
6+
- Created shared `sse_validate_export_file()` function for both download and deletion operations
7+
- Improved code maintainability while preserving security controls
8+
9+
### Security Enhancements
10+
- Updated license to GPL v3
11+
- Enhanced file path validation
12+
- Strengthened regex pattern for export file validation
13+
- Added proper documentation for security-related functions
14+
15+
## 1.5.7 - April 25, 2025
416
### Security Enhancements
517
- Implemented comprehensive file path validation function to prevent directory traversal attacks
618
- Added referrer checks for download and delete operations

0 commit comments

Comments
 (0)