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
certain RestController PathVariable expressions may be broken with spring-cloud-starter-eureka #1252
Comments
I'd compare the output of |
?? Link to a runnable sample project is in the issue descriptor.
|
Any thoughts on this? |
There's a |
I'll try those workarounds and report back as I have to get this functioning. Where should this issue live then? |
To confirm, this workaround works:
|
I'm not even sure if technically it is an issue. It's a nasty side effect of a transitive dependency, for sure. If you want to moan about it go to https://jira.spring.io/browse/SPR. |
Not sure which team is best to look at this: here as well: spring-projects/spring-boot#6629
I have a
@RestController
that looks like this:When my project includes
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
I get a 406 back, when the PathVariable contains an email address.
When my project does not include
spring-cloud-starter-eureka
I get the expected response backSee this simple example for a runnable version. README has the details
https://github.com/bitsofinfo/spring-boot-cloud-eureka-path-variable-issue
The text was updated successfully, but these errors were encountered: