Slideshow bug - subalbums producing 404 error

I've just installed the latest nightly build (2370) and when I go to view a slideshow for a sub album, I get a 404 error.

You can see this at the slideshow linked to from the following page:

http://www.dbeezleyphotography.com/photos/Colorado/The-San-Juan-Mountains/

It looks like it might have something to do with the URL, as it inserts a %2F where it looks like it should be a forward slash:

http://www.dbeezleyphotography.com/photos/Colorado/The-San-Juan-Mountains/page/slideshow

Thanks
Don

Comments

  • So... it looks like the following piece of code is the culprit:

    urlencode($_zp_current_album->getFolder())

    The urlencode method replaces the backslash between the parent and child folders with a $2F. As a quick fix, I used the str_ireplace function to add the backslash back in there:

    str_ireplace("%2F", "/", rawurlencode($_zp_current_album->getFolder()))

    Seems to work okay now.

    Don
  • You should open a ticket on this problem. Otherwise it is likely to get overlooked and therefore not fixed.
  • I can reproduce this problem and will work on a solution. Please open a ticket if you haven't already.
  • This has been fixed. Thanks for the ticket.
Sign In or Register to comment.