fix ACT-1641: make sure only the path part of the url gets rewritten when generating diagram viewer url
Merge pull request #60 from gtudan/ACT-1641

ACT-1641: make sure only the path part of the url gets rewritten