You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added response origin validation in `fetchAvailableServices`: after a successful HTTP response, the response URL origin is now compared against `window.location.origin` and an error is thrown if they do not match, preventing credential exposure via redirected or compromised API endpoints.
12
+
- Moved service preferences from cookie storage to `localStorage` in `handleSavePreferences` and `loadServicePreferences`, eliminating the risk of tampered cookie values being injected by a malicious user.
13
+
- Enhanced `buildFaIconClass` to detect and honour explicit FontAwesome style prefixes (e.g. `fab`, `far`, `fa-brands`) embedded in the icon input string, removing the previous hardcoded `fas`-only restriction.
14
+
- Consolidated icon construction in `updateServiceCardStatus` to use `this.buildFaIconClass` instead of inline sanitization, ensuring all icon class building goes through the same validated path.
15
+
- Changed `credentials: 'include'` to `credentials: 'same-origin'` in `updateFeedServiceStatus` to prevent credentials from being sent to potentially untrusted or user-configurable feed URLs.
16
+
9
17
### 🔧 VHOST IMPORT BUG FIXES & IMPROVEMENTS
10
18
11
19
- Updated the single-zip database file detection in `scripts/functions/vhost/vhost-import.sh` to search for both `*.sql` and `*.sql.gz` patterns, so compressed database dumps are correctly found and imported instead of failing silently.
0 commit comments