If two pages exist with the same name but different extensions, the wrong image is returned.
Example:
Create 2 pages, one jpg, the other png, both using page = 1.
GET /Bamora%20-%20Ch13[4]/1.jpg
GET /Bamora%20-%20Ch13[4]/1.png
both return the same page.
The extension doesn't seem to be matched at all: 1.asdaf also returns the same page; the extension should be shown as part of the page list in the GET /pages route.
If two pages exist with the same name but different extensions, the wrong image is returned.
Example: Create 2 pages, one jpg, the other png, both using page = 1.
GET /Bamora%20-%20Ch13[4]/1.jpg GET /Bamora%20-%20Ch13[4]/1.png
both return the same page.
The extension doesn't seem to be matched at all: 1.asdaf also returns the same page; the extension should be shown as part of the page list in the GET /pages route.