Skip to content

fix $state.includes to correctly handle * and ** #2880

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

Closed
wants to merge 2 commits into from

Conversation

axar
Copy link

@axar axar commented Jul 19, 2016

Attempted to fix #2438

axar added 2 commits July 19, 2016 12:21
fixed for angular-ui#2438, prevent matches for *.** based patterns.
@axar axar mentioned this pull request Jul 19, 2016
@christopherthielen
Copy link
Contributor

@axar sorry I didn't notice this PR until just now :( I've rewritten the glob support in master.

Check it here: https://github.com/angular-ui/ui-router/blob/master/src/common/glob.ts
and the tests: https://github.com/angular-ui/ui-router/blob/master/test/core/globSpec.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$state.includes broken
2 participants