Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Allow to set default value of caseInsensitiveMatch to true in routing for application #6477

Closed
apuchkov opened this issue Feb 27, 2014 · 5 comments

Comments

@apuchkov
Copy link

Otherwise to make all URLs case insensitive throughout the application every single route configuration should have caseInsensitiveMatch set to true.

@kureus
Copy link

kureus commented Jun 11, 2014

+1

2 similar comments
@JustMaier
Copy link

+1

@maxg7
Copy link

maxg7 commented Jun 24, 2014

+1

@bcronje
Copy link

bcronje commented Jul 16, 2014

Yes please!

@btford btford removed the gh: issue label Aug 20, 2014
@UTGuy
Copy link

UTGuy commented Sep 18, 2014

// Default 'caseInsensitiveMatch' to 'true' for all routes

var when = $routeProvider.when;
$routeProvider.when = function(path, route) {
    route.caseInsensitiveMatch = true;
    return when.apply(this, arguments);
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.