WebClient now requires scheme #30053
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: regression
A bug that is also a regression
Milestone
Affects: SpringBoot 3.0.3/Spring Framework 6.0.5
I have multiple WebClient instances that uses a target's name without a scheme. Ex:
With SpringBoot 3.0.2 and below (including all current version of SpringBoot 2.x including 2.7.9), the above code will
resolve
service1
to a DNS name and execute theGET
request and expected.As I upgrade to SpringBoot 3.0.3, the above code will now throw an exception with the following error:
It appears the framework is expecting the target name to now include a scheme prefix such as
http://
orhttps://
.Is this behavior an intended change or a bug?
The text was updated successfully, but these errors were encountered: