Wednesday, August 26, 2026
1 change · master
Security fixes and vulnerability patches
The website configurator now picks suitable images even when a user enters an industry that is not already listed, helping generated websites look more relevant and polished. Logo uploads are also validated more reliably by checking the actual file type, preventing mislabeled non-image files from being accepted.
Original PR description
## [IMP] website: choose appropriate images for unknown industries When the user types an industry that is not in the list, its id is -1 and no image can be fetched, leaving the preview without pictures, and the generated website with the base theme images. Ask the AI for the known industry that best matches what was typed, with a confidence score, and reuse that industry's images when the confidence is high enough. task-6280905 ## [FIX] website: check if configurator logo is really an image Bug: The logo upload only checked if the file extension was one of an image, so if someone uploads a file with it's extension modified, the file was accepted without errors. Fix: We now check if the mimetype inside the file is correct before uploading the logo in the db. If not, return an error notification. task-6280905