Skip to content
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

fix(core): generate valid regex in guard also for wildcard routes #2231

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

sleidig
Copy link
Member

@sleidig sleidig commented Feb 14, 2024

has caused errors that show up in sentry:

Invalid regular expression: /^**[/.]$/: Nothing to repeat

Copy link

sentry-io bot commented Feb 14, 2024

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: src/app/core/permissions/permission-guard/abstract-permission.guard.ts

Function Unhandled Issue
isPathMatch SyntaxError: Invalid regular expression: /^[/.]$/: Nothing to repeat** S...
Event Count: 1 Affected Users: 5

Did you find this useful? React with a 👍 or 👎

@sleidig sleidig requested a review from tomwwinter February 14, 2024 15:42
Copy link

Deployed to https://pr-2231.aam-digital.net/

@sleidig sleidig merged commit 592b534 into master Feb 16, 2024
7 checks passed
@sleidig sleidig deleted the regex-fix branch February 16, 2024 10:27
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.32.0-master.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci aam-digital-ci added the released on @master managed by CI (semantic-release) label Feb 16, 2024
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.32.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci aam-digital-ci added the released managed by CI (semantic-release) label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released on @master managed by CI (semantic-release) released managed by CI (semantic-release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants