[Tickets #13342] Smartmobile view fails to load with PHP 5.3.3

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jul 10 08:51:57 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13342
------------------------------------------------------------------------------
  Ticket             | 13342
  Created By         | Jasper.Olbrich at students.uni-marburg.de
  Summary            | Smartmobile view fails to load with PHP 5.3.3
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Jasper.Olbrich at students.uni-marburg.de (2014-07-10 08:51) wrote:

After the update to Horde 5.2, the initial redirect from login.php to  
the initial application fails when using the smartmobile view.

I end up in an infinite redirection loop. My observations so far:
* the initial page is /imp/smartmobile.php#mailbox?mbox=SU5CT1g (correct)
* the call to Horde::url() returns   
https://host:port/#mailbox?mbox=SU5CT1g (wrong)

I assume the error is due to changes in parse_url(), because:
on the production system (PHP Version 5.3.3-7+squeeze19)
var_dump(parse_url('/imp/smartmobile.php#mailbox?mbox=SU5CT1g'));
array(1) {
   'fragment' =>
   string(20) "mailbox?mbox=SU5CT1g"
}

and with a more recent version (php -v: PHP 5.5.9-1ubuntu4 (cli)  
(built: Apr  9 2014 17:11:57))

var_dump(parse_url('/imp/smartmobile.php#mailbox?mbox=SU5CT1g'));
array(2) {
   ["path"]=>
   string(20) "/imp/smartmobile.php"
   ["fragment"]=>
   string(20) "mailbox?mbox=SU5CT1g"
}

What would be the right way to deal with this?





More information about the bugs mailing list