Skip to content

remmina_main_quickconnect: recognize ip when textbox has ip:port in it, and strip whitespaces

bwack requested to merge bwack/Remmina:quickconnect_strip_whitespaces into master

I've started using remmina on a daily basis after the covid pandemic started. When copy pasting the ip address from tailscale into quickconnect, leading spaces follow. So I looked in the code and found that if you write " 100.77.11.10:5901", the code that checks if "server_trimmed" is an ip address will fail even though it is an ip address. It fails because it does not care to split at the ":". So that is what I have done :)

Let me know what you think. This is the first time I try to edit a desktop program. I have background in working with software for embedded devices.

Merge request reports