(url)
| 163 | } |
| 164 | |
| 165 | export const decodeUrl = function (url) { |
| 166 | /* Replace forbidden symbols in string |
| 167 | */ |
| 168 | return decodeURIComponent(decodeURIComponent(decodeURIComponent(url))) |
| 169 | } |
| 170 | |
| 171 | export const normalizePath = function (path) { |
| 172 | if (path === '' || path === '/') return '/' |
no outgoing calls
no test coverage detected