Before this commit UriComponents was capable of expanding URI vars that may have contained a regular expressions (as supported with @RequestMapping for example). However if the regular expressions contained any nested "{}" the expand did not work correctly. This commit sanitizes a URI template source removing any content between nested "{}" prior to expanding. This works since we only care about the URI variable name. Issue: SPR-13311master
parent
1a9e42b49d
commit
2e79a30fed
2 changed files with 42 additions and 4 deletions
Loading…
Reference in new issue