dist/hawtio-utilities.js
function escapeColons(url) {
        var answer = url;
        if (_.startsWith(url, 'proxy')) {
            answer = url.replace(/:/g, '\\:');
        }
        else {
            answer = url.replace(/:([^\/])/, '\\:$1');
        }
        return answer;
    }
function escapeColons(url) {
        var answer = url;
        if (_.startsWith(url, 'proxy')) {
            answer = url.replace(/:/g, '\\:');
        }
        else {
            answer = url.replace(/:([^\/])/, '\\:$1');
        }
        return answer;
    }
function escapeColons ( url ) { var answer = url ; if ( _ . startsWith ( url , 'proxy' ) ) { answer = url . replace ( / : / g , '\\:' ) ; } else { answer = url . replace ( / :([^\/]) / , '\\:$1' ) ; } return answer ; }
Escape any colons in the URL for ng-resource, mostly useful for handling proxified URLs
@param url
@returns {*}
Escape any colons in the URL for ng - resource mostly useful for handling proxified URLs