Skip to content

Conversation

@ChristopherAlphonse
Copy link

Implement trimming of whitespace from IP address fields across various components to resolve SSH connection issues caused by leading or trailing spaces. This change enhances user experience by allowing IP addresses with whitespace to be processed correctly. Fixes issue #10.

… failures

- Add .trim() to ipAddress field in server schema validation
- Trim ipAddress in handle-servers.tsx onSubmit function
- Trim ipAddress in create-server.tsx onSubmit function
- Trim serverIp in update-server-ip.tsx schema and onSubmit function

Fixes issue #10 where IP addresses with leading/trailing whitespace
caused SSH connection failures. Users can now enter IP addresses with
whitespace and the system will automatically trim it before processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant