Page 1 of 1

CGExtensions get_current_url changed?

Posted: Thu Jul 13, 2017 3:14 pm
by asdf
I noticed get_current_url returns site.tld/page.html when it earlier returned http://site.tld/page.html When used for anchors the browser tries to open http://site.tld/site.tld/page.html Is this intentional change or is there a bug? I was able to fix it adding // in front of it to get a protocol-relative link but it is not that pretty way to me.

CMSMS 2.2.2 and CGExtensions 1.55.6 on PHP 5.5.9-1ubuntu4.21. The earlier was 1.12.1 and CGExtensions 1.4x.