use strange combination of context path and baseUrl and other stuff to
build this monstrosity called the destination url