properly decode URLs in EbookController (fixes #22)