• 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
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
pom.xml Loading commit data...