georgizk / ims-release

Imangascans release manager
MIT License
2 stars 0 forks source link

Wrong page returned for page GET route #13

Closed georgizk closed 7 years ago

georgizk commented 7 years ago

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.

georgizk commented 7 years ago

fixed (not really an issue anymore, since name is unique and name has to match)