* Normalizes a URL path by stripping any trailing slashes. * * @param url String representing a URL. * * @returns The normalized URL string.
(url: string)
| 138 | * @returns The normalized URL string. |
| 139 | */ |
| 140 | normalize(url: string): string { |
| 141 | return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url))); |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * Normalizes an external URL path. |
no test coverage detected