[Tickets #13342] Re: Smartmobile view fails to load with PHP 5.3.3
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Sep 13 13:29:00 UTC 2021
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13342
------------------------------------------------------------------------------
Ticket | 13342
Updated By | fival18688 at shensufu.com
Summary | Smartmobile view fails to load with PHP 5.3.3
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Not A Bug
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Rubinsky
------------------------------------------------------------------------------
fival18688 at shensufu.com (2021-09-13 13:29) 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"
> }<script>alert('ne yazmak istersen')</script>
>
> What would be the right way to deal with this?
More information about the bugs
mailing list