lrsjng/h5ai — Issue #37: Thumbs do not appear when the URL contains " ' " character
Author: metasta
Created: 2012-02-17 04:17:41+00:00
State: open

I'm using h5ai v0.17 (js).

I edit _h5ai/config.js
"showThumbs": true,
to show image thumbnails. That works fine and image thumbnails are displayed correctly.

But I noticed that the thumbs do not appear when the URL contains single-quote character.

I've confirmed that the problem does not occur when I change the 2 places in _h5ai/js/main-js.js
+"?action=thumb&href="+e.absHref+
to
+"?action=thumb&href="+e.absHref.replace(/'/g,"%27")+
.