• Brian Clozel's avatar
    Make WebMvgTags use matched patterns for HTTP 404 · ebb2f70e
    Brian Clozel authored
    Prior to this commit, `WebMvcTags' would always mark as "NOT_FOUND" or
    "REDIRECTION" *any* exchange with responses of 404 and 3xx status, even
    if those responses are actually returned by Controller handlers.
    
    This commit checks inverts those checks and first considers if the
    "BEST_MATCHING_PATTERN_ATTRIBUTE" request attribute is present and uses
    it - then falls back to "NOT_FOUND" and "REDIRECTION" to avoid
    cardinality explosion.
    
    Fixes gh-12577
    ebb2f70e
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...