-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Allow capturing of multiple capture groups for debounce action regex-path #24750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Verification
Filed: #25259 Verified with the testplan brave/brave-core#14687 (comment)
URL 1 - PASSED
URL 2 - PASSED
|
Verified
|
Brave | 1.44.79 Chromium: 105.0.5195.102 (Official Build) beta (x86_64) |
---|---|
Revision | 4c16f5ffcc2da70ee2600d5db77bed423ac03a5a-refs/branch-heads/5195_55@{#4} |
OS | macOS Version 13.0 (Build 22A5331f) |
Steps:
- installed
1.44.79
- launched Brave
- loaded
https://topnews--ru-ru.turbopages.org/topnews-ru.ru/s/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia/
- confirmed it redirected to
https://topnews-ru.ru/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia/
- loaded
https://08-mchs-gov-ru.turbopages.org/08.mchs.gov.ru/s/deyatelnost/press-centr/novosti/4726459
- confirmed it redirected to
https://08.mchs.gov.ru/deyatelnost/press-centr/novosti/4726459
step 3 | step 4 | step 5 | step 6 |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Verification
URL 1 - PASSED
URL 2 - PASSED
|
Verification PASSED on
Went through the STR/Cases outlined via brave/brave-core#14687 (comment) and ensured the following:
Ensured that visiting https://topnews--ru-ru.turbopages.org/topnews-ru.ru/s/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia redirected to https://topnews-ru.ru/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia without any issues.
Ensured that visiting https://08-mchs-gov-ru.turbopages.org/08.mchs.gov.ru/s/deyatelnost/press-centr/novosti/4726459 redirected to https://08.mchs.gov.ru/deyatelnost/press-centr/novosti/4726459 without any issues.
Verification PASSED on
Went through the STR/Cases outlined via brave/brave-core#14687 (comment) and ensured the following:
Ensured that visiting https://topnews--ru-ru.turbopages.org/topnews-ru.ru/s/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia redirected to https://topnews-ru.ru/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia without any issues.
Ensured that visiting https://08-mchs-gov-ru.turbopages.org/08.mchs.gov.ru/s/deyatelnost/press-centr/novosti/4726459 redirected to https://08.mchs.gov.ru/deyatelnost/press-centr/novosti/4726459 without any issues.
|
To debounce URLs like https://topnews--ru-ru.turbopages.org/topnews-ru.ru/s/2022/08/15/djoan-royling-prigrozili-smertu-za-podderjky-ryshdi-ty-sledyushaia/, we need to remove the
/s/
. We can do this by allowing for multiple capture groups for the actionregex-path
and then concatenating the matches.Currently the action validates that there is only one capture group.
Test plan in PR description: brave/brave-core#14687
The text was updated successfully, but these errors were encountered: