Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.8.1
-
None
-
Ubuntu Precise
-
8a450f570b8dc40f61a68db0ca5eb69a7a97272c
Description
In KDE4 it is not possible anymore to access local hosts using link-local addresses. In KDE3 this works without problems.
The reason for this is that Qt4 has become stricter in the types of URLs it allows and link-local addresses violate the rules.
An example of a link-local address that works in KDE3 but not KDE4
fish://[fe80::21e:ceaa:fe3d:a792%eth0]/
The problem is the % between the address and the network interface. Hopefully an solution can be invented. Maybe with an alternative notation or a separate way to indicate the network interface.
Relevant chat from #kde
[12:32:45] <Z_God> is it a known problem that KDE4 KIO cannot connect to link local addresses?
[12:33:44] <Z_God> fish://[fe80::21e:ecff:fe5d:679e%eth0]/ works in konqueror from trinity but in dolphin in kde4 I get "Invalid Protocol"
[12:33:55] <Z_God> I can connect to non-link local addresses
[12:40:15] <thiago> Z_God: that address is not representable, unfortunately
[12:40:24] <thiago> Z_God: the % character is not permitted in that position
[12:41:39] <thiago> Z_God: I know, but unfortunately the standard notation conflicts with the definition of URLs
[12:41:58] <thiago> the % character must always be followed by two hex characters
[12:42:13] <Z_God> thiago: so is there an alternative notation to access link local addresses on KDE4?
[12:42:23] <thiago> and even if you had written %25 there, the definition doesn't allow for the scope ID anywhere
[12:42:26] <thiago> sorry, no
[12:42:43] <thiago> the link-local notation is impossible under URL rules
[12:43:16] <Z_God> but then I would suggest using an alternative notation?
[12:43:23] <thiago> there isn't one
[12:43:24] <thiago> sorry
[12:43:35] <Z_God> accessing local systems is kind of an important feature I think
[12:43:40] <thiago> indeed
[12:43:49] <thiago> but you can't change the basic rules of the internet for that
[12:44:24] <Z_God> but do you think I could report a bug with KDE somewhere also on this?
[12:44:38] <Z_God> it worked fine in KDE3, so I would expect it to stay working
[12:44:51] <thiago> no
[12:44:55] <thiago> it won't do any good
[12:44:58] <thiago> in KDE 4, it's impossible
[12:45:00] <Z_God> where should this be reported?
[12:45:05] <thiago> nowhere
[12:45:18] <thiago> you could file a suggestion for Qt 5, so I may look into this for later
[12:45:24] <thiago> Qt 5, KDE 5
[12:45:27] <thiago> it can't be done in 4
Attachments
Issue Links
- replaces
-
QTBUG-39199 QUrl returns empty when initiailzed with IPv6 containing scope ID
- Closed
For Gerrit Dashboard: QTBUG-25550 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
60368,4 | WIP Add support for storing scope IDs in URLs | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
217301,7 | QUrl: Support IPv6 addresses with zone id | dev | qt/qtbase | Status: MERGED | +2 | 0 |