readium/readium — pull request #58 by skoji (2012-04-02 14:10:51+00:00)
Title: goToHref can't identify files with similar name, like cover.html and back_cover.html

If you have items like this:

When you click link to back_cover.html in the navigation document, Readium will open cover.html instead of back_cover.html.

goToHref searches a item with href that matches the end of the link string.
So link to 'back_cover.html' will matches the item with reference to 'cover.html'.

This patch will fix the problem.