keyboardnav-extended not working in Firefox & Safari

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

Comments

  • acrylian Administrator, Developer
    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.
  • 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
Sign In or Register to comment.