Closed DanielGordonIT closed 4 months ago
When replacing an image in the image editor, if the case of the extension differs the replacement fails.
As png and PNG are not indicators of different files, you should be able to replace a file ending in PNG with one ending in png.
png
PNG
No response
v24.02.2
Pull request wrapping the relevant segments of code in strtolower() has been created
strtolower()
Describe the Bug
When replacing an image in the image editor, if the case of the extension differs the replacement fails.
Steps to Reproduce
Expected Behaviour
As
png
andPNG
are not indicators of different files, you should be able to replace a file ending in PNG with one ending in png.Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.02.2