Skip to content

Makes routes case insensitive#100

Closed
martonx wants to merge 1 commit intokrasimir:masterfrom
martonx:patch-1
Closed

Makes routes case insensitive#100
martonx wants to merge 1 commit intokrasimir:masterfrom
martonx:patch-1

Conversation

@martonx
Copy link
Copy Markdown

@martonx martonx commented Mar 29, 2017

No description provided.

@krasimir
Copy link
Copy Markdown
Owner

Hey @martonx, thank you for the PR. I just released 4.4.0 version that contains an API for case insensitive route handling. Simple set the following before running the router:

Navigo.MATCH_REGEXP_FLAGS = 'i';

I'm always trying to make changes that are backward compatible. Your PR uses case insensitive for all the routes. With 4.4.0 we are making this optional.

@krasimir krasimir closed this Mar 31, 2017
@greenyas
Copy link
Copy Markdown

Hey, @krasimir. How does this work in >8.0.0 version? Is it still operational ? My case insensitivity tests started to fail

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.

3 participants