src/aria/modules/RequestMgr.js
function (requestPath, params) {
            requestPath = requestPath || "";

            if (!params) {
                // Nothing to do if there are no parameters
                return requestPath;
            }

            var idx = requestPath.indexOf('?');
            /*
             * Just in case we want to change it in the future. W3C recommends to use semi columns instead of ampersand
             * http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
             */
            var parametersSeparator = "&";

            if (idx > -1) {
                requestPath += parametersSeparator;
            } else {
                requestPath += "?";
            }

            return requestPath + params;
        }
function (requestPath, params) {
            requestPath = requestPath || "";

            if (!params) {
                // Nothing to do if there are no parameters
                return requestPath;
            }

            var idx = requestPath.indexOf('?');
            /*
             * Just in case we want to change it in the future. W3C recommends to use semi columns instead of ampersand
             * http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
             */
            var parametersSeparator = "&";

            if (idx > -1) {
                requestPath += parametersSeparator;
            } else {
                requestPath += "?";
            }

            return requestPath + params;
        }
function ( requestPath , params ) { requestPath = requestPath || "" ; if ( ! params ) { // Nothing to do if there are no parameters return requestPath ; } var idx = requestPath . indexOf ( '?' ) ; /*
             * Just in case we want to change it in the future. W3C recommends to use semi columns instead of ampersand
             * http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
             */ var parametersSeparator = "&" ; if ( idx > - 1 ) { requestPath += parametersSeparator ; } else { requestPath += "?" ; } return requestPath + params ; }
Append the action parameters to a url request path. Action parameters are strings
@param {String} requestPath The base requestPath
@param {String} params String with the parameters
@return {String} the final requestPath
@private
Append the action parameters to a url request path . Action parameters are strings