https://github.com/angular/angular
Revision f0e926074df189b3e3ca361a6a3bcd852c05e010 authored by Vincent on 23 February 2023, 16:48:14 UTC, committed by Andrew Kushnir on 27 February 2023, 18:02:33 UTC
Fix the function stripping the base path from the URL, as the current implementation uses the base path as part of a regex, which wrongly makes paths fails that contain characters such as a parenthesis (example: C:/Users/MyUser(Test)/project).

Fixes #49179

PR Close #49181
1 parent 7ec76de
History
Tip revision: f0e926074df189b3e3ca361a6a3bcd852c05e010 authored by Vincent on 23 February 2023, 16:48:14 UTC
fix(common): make Location.normalize() return the correct path when the base path contains characters that interfere with regex syntax. (#49181)
Tip revision: f0e9260
File Mode Size
.circleci
.devcontainer
.github
.husky
.ng-dev
.vscode
.yarn
aio
devtools
docs
goldens
integration
modules
packages
scripts
third_party
tools
.bazelignore -rw-r--r-- 1.5 KB
.bazelrc -rw-r--r-- 7.2 KB
.bazelversion -rw-r--r-- 6 bytes
.clang-format -rw-r--r-- 73 bytes
.editorconfig -rw-r--r-- 245 bytes
.gitattributes -rw-r--r-- 146 bytes
.gitignore -rw-r--r-- 948 bytes
.gitmessage -rw-r--r-- 7.2 KB
.mailmap -rw-r--r-- 51 bytes
.npmrc -rw-r--r-- 21 bytes
.nvmrc -rw-r--r-- 8 bytes
.prettierrc -rw-r--r-- 157 bytes
.pullapprove.yml -rw-r--r-- 53.1 KB
.yarnrc -rw-r--r-- 130 bytes
BUILD.bazel -rw-r--r-- 1.9 KB
CHANGELOG.md -rw-r--r-- 380.6 KB
CHANGELOG_ARCHIVE.md -rw-r--r-- 742.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.2 KB
CONTRIBUTING.md -rw-r--r-- 15.9 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 5.0 KB
SECURITY.md -rw-r--r-- 403 bytes
WORKSPACE -rw-r--r-- 7.9 KB
browser-providers.conf.js -rw-r--r-- 1.9 KB
gulpfile.js -rw-r--r-- 572 bytes
karma-js.conf.js -rw-r--r-- 5.7 KB
package.json -rw-r--r-- 9.4 KB
packages.bzl -rw-r--r-- 3.1 KB
renovate.json -rw-r--r-- 2.9 KB
tsconfig-tslint.json -rw-r--r-- 171 bytes
tslint.json -rw-r--r-- 5.1 KB
yarn.bzl -rw-r--r-- 77 bytes
yarn.lock -rw-r--r-- 783.2 KB
yarn.lock.readme.md -rw-r--r-- 1.3 KB

README.md

back to top