| Summary: | unable to create name unless using lower case | ||
|---|---|---|---|
| Product: | [Applications] krusader | Reporter: | Dave Clifford <clifforddc> |
| Component: | net-connection | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | clifforddc, davide, krusader-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 2.6.0 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
screenshot after invoking new net connection
attachment-30233-0.html |
||
Hostname is converted lower case by QUrl by default (see: https://doc.qt.io/qt-5/qurl.html#UrlFormattingOption-enum) as stated in many RFC documents, even dolphin is "affected" ((s)ftp is handled by kio-extras, which does not manage the given urls). So, the "bug" is in QUrl class used in Krusader and Dolphin when they use a kio-extras component. This can be reproduce in almost every browser, all url are converted lowercase; obviously, the fastest solution is to manage the host to respond with lowercase (aside or instead of uppercase). Managing this in kio could be a hard solution. Created attachment 130761 [details] attachment-30233-0.html If this is the behavior - converting the hostname to lowercase - then do I correct my problem by defining and using only lower case letters in the hostname? The issue I reported as a bug (id=424943) was due to the behavior of the app in changing the case of the host name and then not finding a match. It's fine if the code does this, but some notation should be made in the user's guide that this is the expected behavior. I would not go to the trouble (and should not be expected) to read an RFC to determine that a hostname will be converted to lowercase. Let me know if I should - or if you can, close the bug with a reason. Dave Clifford On Mon, Aug 10, 2020 at 3:22 AM Davide Gianforte <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=424943 > > Davide Gianforte <davide@gengisdave.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|REPORTED |NEEDSINFO > Resolution|--- |WAITINGFORINFO > CC| |davide@gengisdave.org > > --- Comment #1 from Davide Gianforte <davide@gengisdave.org> --- > Hostname is converted lower case by QUrl by default (see: > https://doc.qt.io/qt-5/qurl.html#UrlFormattingOption-enum) as stated in > many > RFC documents, even dolphin is "affected" ((s)ftp is handled by kio-extras, > which does not manage the given urls). > > So, the "bug" is in QUrl class used in Krusader and Dolphin when they use a > kio-extras component. > > This can be reproduce in almost every browser, all url are converted > lowercase; > obviously, the fastest solution is to manage the host to respond with > lowercase > (aside or instead of uppercase). Managing this in kio could be a hard > solution. > > -- > You are receiving this mail because: > You reported the bug. > You are on the CC list for the bug. I should check if a server could respond case-insensitive; meanwhile, the user warning is a good idea. Also, how do you resolve the host address? If you use /etc/hosts can you try adding a second line with the host in lowercase? |
Created attachment 130593 [details] screenshot after invoking new net connection SUMMARY STEPS TO REPRODUCE 1. Name a client "8300-USDT" 2. Use Krusader new net tool to connect to "8300-USDT" 3. OBSERVED RESULT Failure to connect due to name being changed by new net tool to "8300-usdt" EXPECTED RESULT new net tool connects SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 18.04 (available in About System) KDE Plasma Version: 5.12.19 KDE Frameworks Version: 5.44.0 Qt Version: 5.9.5 KERNEL: 4.15.0.112-generic ADDITIONAL INFORMATION