Bug 321852 - unknown protocol in URL gives misleading error message
Summary: unknown protocol in URL gives misleading error message
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 07:13 UTC by Jonathan Marten
Modified: 2018-11-11 02:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Marten 2013-07-02 07:13:46 UTC
Trying to open or access a URL which is correctly formatted but where the protocol is unknown or not supported gives the misleading error message "Improperly Formatted URL".

This caused me a lot of investigating when an installation problem meant that the SFTP kioslave (which I had happily been using in the past) had disappeared;  there was nothing wrong with the format of the URL but the protocol was not being recognised.


Reproducible: Always

Steps to Reproduce:
1. Open Konqueror
2. Type a URL in the address bar which is correctly formatted but  has an unknown protocol, for example "xxx://foo"

Actual Results:  
Error message page is displayed:

The requested operation could not be completed
Improperly Formatted URL

Details of the Request:
URL: xxx://foo
Protocol: xxx
Date and Time: Tuesday 02 July 2013 08:03
Additional Information: xxx://foo

Description:
The Uniform Resource Locator (URL) that you entered was not properly formatted. The format of a URL is generally as follows:

protocol://user:password@www.example.org:port/folder/filename.extension?query=value

Possible Solutions:
Double-check that you have entered the correct location and try again.


Expected Results:  
The message should explicitly say something to the effect that the protocol "xxx" was not recognised.


There is a case for this: ERR_UNSUPPORTED_PROTOCOL with the message "The protocol %1 is not supported." in kdelibs/kio/kio/global.cpp.  So it is just the error detection that is not working.
Comment 1 Andrew Crouthamel 2018-11-10 03:22:22 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Jonathan Marten 2018-11-10 08:35:50 UTC
Still an issue with current KDE Frameworks master.
Comment 3 Andrew Crouthamel 2018-11-11 02:59:46 UTC
Thanks for the update!