Member
Member
zorglub   2014-12-04, 06:25
#1

Hello,

I was happy to see an update to the original keyboardnav from Laurent Marineau but the new plugin did not work. I realized that it added the & in the URL for $prevurl and $nexturl

http://mysite.com/zenphoto/index.php?album=foo/bar&image=image-5.jpg

changing htmlspecialchars to htmlspecialchars_decode line 110 & 114 fixed the issue

just my 0.2 cents

Administrator
Administrator
acrylian   2014-12-04, 10:31
#2

Thanks, you are right. You also could have opened a ticket on its repo ;-)

This issue primarily only surfaces if you don't enable SEO friendly modrewrite links. I fault as I apparently forgot to test non modrewrite links as I cannot imagine that anyone uses them still nowadays (or even a shared hoster not supporting modrewrite). At least I learn that way that someone actually uses this ;-)

Update is up.

Member
Member
zorglub   2014-12-09, 23:32
#3

Thanks Acrylian,

I was unsure if this was a bug or something wrong with my environment, after reading your reply I did some reading on mod_rewrite and enabled it on my server

a2enmod rewrite
service apache2 restart

Thanks for your help

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.