printParentBreadcrumb() after a search

In my template image.php, printParentBreadcrumb() send me wrong link after a search.

http://127.0.0.1/zp/index.php?p=search& amp;words=foo
(without the space)

instead of

http://127.0.0.1/zp/index.php?p=search&words=foo

What is wrong ?

Comments

  • acrylian Administrator, Developer
    Where is the difference between those?
  • & or & amp; are not equivalent in an URL (I guess)

    the link
    /zp/index.php?p=search& amp;words=foo

    print an empty search page, whereas the link
    /zp/index.php?p=search&words=foo
    prints results in search page.

    [edit] of course this append only if I don't use the mode rewrite.
  • This is a bug. We will get a fix in the next nightly build.
  • acrylian Administrator, Developer
    @binoyte: Just to add, when I answered there was not `&` in the examples, that's why I asked.
  • OK thanks guys.

    @acrylian : no problem. The forum has converted automatically `&amps` to `&`, and there is no preview function.
  • acrylian Administrator, Developer
    Yep, you have to `escape` code so it does not do this.
Sign In or Register to comment.