ioBroker / ioBroker.ping

Pings configured IPs for ioBroker
MIT License
21 stars 18 forks source link

Trailing spaces at ip address block pinging #98

Closed mcm1957 closed 1 year ago

mcm1957 commented 1 year ago

Describe the bug
If you add a traing space to an ip address (i.e. "8.8.8.8 ") the ping always fails.

To Reproduce
Simply add a space after the ip address of an working device entry

Expected behavior
The ip address string shuld be trimmed or an clear exception should be output.

Trailing spaces can likely occure when using cut & paste to copy addresses.

Versions:

Note: Leading spaces could be a issue too - but this has not been tested

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

mcm1957 commented 1 year ago

Not yet solved