Permalink URL has several times the same URL

Steps to reproduce
1. Start app http://mf-geoadmin30t.bgdi.admin.ch/ltmoc/app

Result
1. URL in url bar is: http://mf-geoadmin30t.bgdi.admin.ch/ltmoc/app/http:://mf-geoadmin30t.bgdi.admin.ch/ltmoc/app/http:://mf-geoadmin30t.bgdi.admin.ch/ltmoc/app/http:://mf-geoadmin30t.bgdi.admin.ch/ltmoc/app/?bgLayer=ch.swisstopo.pixelkarte-farbe&X=188192.49&Y=661473.07&zoom=1

Expected result
1. http:://mf-geoadmin30t.bgdi.admin.ch/ltmoc/app/?bgLayer=ch.swisstopo.pixelkarte-farbe&X=188192.49&Y=661473.07&zoom=1