Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an extension point to customize base uri for WebMvcLinkBuilderFactory#linkTo calls #1987

Open
scional opened this issue Jul 3, 2023 · 0 comments

Comments

@scional
Copy link

scional commented Jul 3, 2023

Hi,

When http requests are made by a servlet that is not Spring MVC servlet the servlet path is missing in URI created with call to WebMvcLinkBuilderFactory#linkTo(java.lang.Object).
It's also the case when the calls are not in a http request thread (even the context path is missing in this case).

Is it possible to provide an extension point to be able to customize the base URI path ?

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant