Заметки к выпуску
Changed
- HTTP 401 and 403 now mean wrong credentials: the connection test answers authentication failed and an operation fails instead of being refused. An access-denied refusal is answered only when the panel says the user may not run remote commands. A server record the plugin cannot use is refused for another reason.
- The answer body is read under a deadline and a declared length over the limit is refused before reading.
- A plan name matches exactly first, then ignoring case only when one plan fits. A malformed listing entry fails the call.
- A connection fault is wrapped without its detail, an answer from another host is refused before it is read, and the logged error text is never cut inside a surrogate pair.
- A password change looks the account up before it judges the password.
- The plugin is built on
Hostpanel.Sdk3.7.0, because it calls the newIPanelTransport.CreateClient(PanelServerConnection). - The client of a call is created for its server, so the operator's setting "accept a self signed certificate" now works for Virtualmin, which installs with a self signed certificate.
- The client uses
PluginHttpof the SDK for the send, the bounded and timed read of the body and the check of the final host. The hand written body reader, host check, connection fault wrapping and deadline are gone. The wait for the headers now has its own deadline of a minute. - Secrets print as
SecretMask.Textof the SDK, and the plugin's own mask class is gone. - Tests run the SDK checks
PluginHttpContract.AssertRedirectIsNotFollowedAsyncand the twoPanelTransportContractself signed checks against a transport double, and cover that a call asks for the client of its server.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «virtualmin» и выберите версию 1.0.1.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.