diff --git a/lib/helpers/buildURL.js b/lib/helpers/buildURL.js index f10e26c6..d6745da5 100644 --- a/lib/helpers/buildURL.js +++ b/lib/helpers/buildURL.js @@ -4,8 +4,8 @@ import utils from '../utils.js'; import AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js'; /** - * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their - * URI encoded counterparts + * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with + * their plain counterparts (`:`, `$`, `,`, `+`). * * @param {string} val The value to be encoded. *