The tl;dr on how to fix this:
Get id of default profile:
pid=$(dconf read /org/gnome/terminal/legacy/profiles:/default | tr -d "'")
Remove the boundary property of some additional characters:
dconf write /org/gnome/terminal/legacy/profiles:/:$pid/word-char-exceptions '@ms "-=&#:/.?@+~_%;"'
Where the `@ms` denotes the maybe-string gvariant type.
With that a double-click should select URLs like:
http://foo-bar.example.org/query.html#xyz?key1=value1&key2=value2
The tl;dr on how to fix this:
Get id of default profile:
pid=$(dconf read /org/gnome/ terminal/ legacy/ profiles: /default | tr -d "'")
Remove the boundary property of some additional characters:
dconf write /org/gnome/ terminal/ legacy/ profiles: /:$pid/ word-char- exceptions '@ms "-=&#:/.?@+~_%;"'
Where the `@ms` denotes the maybe-string gvariant type.
With that a double-click should select URLs like:
http:// foo-bar. example. org/query. html#xyz? key1=value1& key2=value2