Fix for DTACLOUD-425 - url_for bug

https://issues.apache.org/jira/browse/DTACLOUD-425