mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-31 07:49:07 -04:00
- Introduced a helper function to check if a hostname matches a given domain, improving the clarity of the `infer_source_from_url` function. - Updated the image source inference logic to utilize the new helper function for better maintainability. - Added a test case to ensure that spoofed hostnames do not match valid image sources, enhancing security and robustness of the inference logic. - Updated Docker Compose configuration to ensure the correct image is used for the backend service.
1.8 KiB
1.8 KiB