* Normalizes a URL path by stripping any trailing slashes. * * @param url String representing a URL. * * @returns The normalized URL string.
(url: string)
| 132 | * @returns The normalized URL string. |
| 133 | */ |
| 134 | normalize(url: string): string { |
| 135 | return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url))); |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * Normalizes an external URL path. |
no test coverage detected