-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Labels
Description
Hi,
I have a problem described in more details here: https://stackoverflow.com/questions/61124099/context-path-not-considered-in-hateoas-links-when-upgrading-from-spring-boot-1-5.
Basically after upgrading to the latest version of spring boot(2.2.26), when using hateoas, the Links are not containing the context-path(server.servlet.context-path).
I have tried using forward-headers-strategy with both FRAMEWORK and NATIVE with a ForwardedHeaderFilter. Adiitionally, the x-forwarded-prefix cannot be set from the config with tomcat.
Are there any guidelines about how to deal with this issue or how to avoid it ?