Skip to content

spring.mvc.favicon.enabled=false does not work on sprint-boot-starter-web #2714

@nabedge

Description

@nabedge
spring.mvc.favicon.enabled=false
spring.favicon.enabled=false

The above properties on src/main/resources/application.properties does not work on both of spring-boot 1.2.x and 1.1.x .

sample project: https://github.com/nabedge/sb-favicon-sample

  1. start sample application
  2. go http://localhost:8080/
  3. click link "get favicon.ico"

expected behavior: 404 not found.

actual behavior: download default favicon (green leaf image)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions