Bug 414324 - IPv6 address has enclosing [] stripped before passing to xfreerdp
Summary: IPv6 address has enclosing [] stripped before passing to xfreerdp
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: RDP (show other bugs)
Version: 19.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-20 11:26 UTC by JG
Modified: 2025-03-06 11:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 23.12
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JG 2019-11-20 11:26:36 UTC
In KRDC a connections string like this: DOMAIN\username@[2001:db8::1] generates a commandline like this:

/bin/xfreerdp -decorations /w:1920 /h:1080 /kbd:0x00000809 /d:DOMAIN /u:username /parent-window:29363239 /bpp:24 /audio-mode:0 /sound:sys:alsa /drive:media,/home/DOMAIN/username /network:lan /rfx +auto-reconnect /cert-ignore +clipboard /port:3389 /v:2001:db8::1 /p:************

Note the lack of [] 

If I take the above command and add the [] around the IPv6 address after /v: and remove the /parent-window parameter then xfreerdp works fine.

(Arch Linux, krdc 19.08.3, This is FreeRDP version 2.0.0-dev5)