Browse Source
isLoopbackHost takes a bare host since 66ed132, but addTransportFields
passed the server value as is. The Device connectivity host isn't
validated, so it can be saved as localhost:1883; DeviceConnectivityUtil.getHost
returns that unchanged. It then wasn't seen as loopback, the fields became
read-only, and the sketch / docker-compose got localhost with no way to
correct it.
addTransportFields now reduces the server host with toBareHost once, and
uses the bare host for the loopback check, the default value and the hints.
pull/16376/head
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue