ZF-10929: Wrong URL in /demos/Zend/Gdata/Calendar.php::getCurrentUrl()
Description
When $_SERVER['HTTP_HOST'] already contain port number(like site.com:81) and $_SERVER['PORT'] contains it too, as a result function return "site.com:81:81" value. File in webSVN: http://framework.zend.com/code/filedetails.php/…
Also function getCurrentUrl() is in Calendar.php, Health.php, Photos.php
Comments
Posted by Tokarchuk Andrey (netandreus) on 2011-01-08T10:52:16.000+0000
Patch to resolve this problem.