Use setRaw() instead of str_replace hack.
authorJan Schneider <jan@horde.org>
Mon, 31 May 2010 15:02:46 +0000 (17:02 +0200)
committerJan Schneider <jan@horde.org>
Mon, 31 May 2010 16:22:32 +0000 (18:22 +0200)
framework/Ajax/lib/Horde/Ajax/Application/Base.php

index f953604..11b6379 100644 (file)
@@ -122,7 +122,7 @@ abstract class Horde_Ajax_Application_Base
      */
     public function logOut()
     {
-        Horde::redirect(str_replace('&amp;', '&', Horde::getServiceLink('logout', $this->_app)));
+        Horde::redirect(Horde::getServiceLink('logout', $this->_app)->setRaw(true));
         exit;
     }