The method described below is "PatternSyntaxException: Unblocked counted close next to index ..."
@RequestMapping(value ="/{id:[0-9|a-z]{15}}")
public View view(@PathVariable final String id) {
...
}
Pattern matching seems to cut the string too much and lose the last one.
Does anyone know about this error? I need to drop the qualifier on "/ {id: [0-9 | az] +}" - which frankly suck!
source
share