src/utils.js
function normalizePath(path) {
  path = '/' + path
  path = resolve(normalize(path))
  path = path.replace(/(%[a-f0-9]{2})/g, $1 => $1.toUpperCase())
  if (path === '') path = '/'
  return path
}
function normalizePath(path) {
  path = '/' + path
  path = resolve(normalize(path))
  path = path.replace(/(%[a-f0-9]{2})/g, $1 => $1.toUpperCase())
  if (path === '') path = '/'
  return path
}
Normalize Path

@param {String} path
@return {String}