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

If you have items like this:

Clicking 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.