Skip to content

Explicitly setting management.context-path=/ causes controllers to be mapped with // #3553

@axelfontaine

Description

@axelfontaine

When explicitly setting management.context-path=/ (the default value) in application.properties, all management controllers are mapped with an extra slash.

Using Spring Boot 1.2.5

Example:
2015-07-19 14:27:58.202 INFO 559 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[//info],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions