On a very small static site Googlebot has found out that
https://www.example.com/folder///page.html
(i.e. with two or more dashes between folders or between a folder and a page) results in the same page as the correct
https://www.example.com/folder/page.html
The only difference I notice is that the malformed URLs do not display the inline images.
In the Search Console this veird error results in the notice "Duplicate without user-selected canonical. First detected: 9/14/22." Now these duplicates outnumber the indexed pages and could grow endlessly.
Any idea what might cause this? All internal links are relative but correct. Server is Apache and its configuration is not in any way under my control.