[kde-cli-tools] [Bug 401013] kde-open/xdg-open does not handle symbols at start or end of schema URL

2019-12-02 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=401013

David Faure  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 CC||fa...@kde.org
 Status|CONFIRMED   |RESOLVED

--- Comment #4 from David Faure  ---
I think that's because the "--" is invalid hostname. That's QUrl's behaviour
itself, i.e. it comes from Qt.

This has to do with the IDNA "standard", see
http://www.rfc-editor.org/rfc/rfc3490.txt

I don't believe this is a kde-open bug in any form.
You can try playing with QUrl and filing a Qt bug, but I think the answer will
be that your URL is not IDNA-conform. So better find a different solution than
the "--" thing.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kde-cli-tools] [Bug 401013] kde-open/xdg-open does not handle symbols at start or end of schema URL

2019-09-24 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401013

Ahmad Samir  changed:

   What|Removed |Added

Version|5.44.0  |5.16.90
 CC||a.samir...@gmail.com
  Component|general |general
   Assignee|fa...@kde.org   |aleix...@kde.org
 Status|REPORTED|CONFIRMED
Product|frameworks-kio  |kde-cli-tools
 Ever confirmed|0   |1

--- Comment #3 from Ahmad Samir  ---
Looks like it's a bug in ClientApp::kde_open() [1]:
for "test://example" info.url is QUrl("test://example")
for "test://example--" info.url is QUrl("http://test//example--;)

[1] https://cgit.kde.org/kde-cli-tools.git/tree/kioclient/kioclient.cpp#n212

-- 
You are receiving this mail because:
You are watching all bug changes.