Uchenna

RoutePatternException: The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.

net Icon

Microsoft.AspNetCore.Routing.Patterns.RoutePatternException

The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.

An unhandled exception occurred
Exception source not available.

Solution

I updated the Slugify.Core version to 3.0 and this issue happened. Commenting out the 
DeniedCharactersRegex got rid of the problem            
Mar 19, 2021 Anyone

0 replies


Install the browser extension

Found this solution helpful? Try our extension for quick solutions to your .NET errors.

Chrome logo Add to Chrome - It's free