We have released a new maintenace update.
Important change that will affect every add-on:
All of our add-ons are now using Core Library in order to maintain shared helpers and utilities across add-ons for easier maintenance and to keep add-ons cleaner. Core Library also covers our branding for all add-ons in one switch without having to turn it off in every add-on.
This update will require Core Library 1.0.3.
Changes
- The platform icon picker now uses the shared Core Library picker. Live light and dark colour previews are kept, catalog loading retries after a failure instead of hanging, and the Image tab is hidden until a new platform has been saved.
- Uploaded icons no longer trigger a 403 on servers running ModSecurity (OWASP CRS rule 933200) when a platform is saved, exported or imported.
- The "Members by platform" filter now shows a "Select a platform..." prompt instead of an empty option.
- Postbit icons align to the left when messages drop to a single column on narrow screens.
Bug fixes
- Saving a profile value longer than 255 characters showed a server error instead of a validation message.
- Profile and gamer card links encoded spaces as "+" instead of "%20", which broke links for handles containing spaces.
Security
- Platform URL and gamer card patterns must now start with http:// or https://.
- Icon colours are validated before they are written into the page.
- Font Awesome and emoji icons are validated on save, and image icons are limited to uploaded files, http(s) URLs or relative paths.
- These checks apply to platform XML imports as well as the admin form, so an untrusted import file can no longer inject links or styles into public pages.
- Profile links now carry rel="ugc" in addition to nofollow.
Accessibility
- Profile icons have accessible names (for example "Steam: username") for screen readers, with the decorative SVG and emoji hidden.
- Click-to-copy icons are announced as buttons.
- Icons show a visible focus ring for keyboard users, and the gamer card preview opens on keyboard focus as well as hover.
- The gamer card preview respects the reduced motion setting.
- Gamer card images on the profile tab have descriptive alt text.
Performance
- Inline SVG icons are cached for every platform in a single write instead of one write per icon.