Bug 143930 - kfmclient openURL fails on some URL using Firefox as standard web browser
Summary: kfmclient openURL fails on some URL using Firefox as standard web browser
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-07 14:45 UTC by Franz Häuslschmid
Modified: 2008-08-02 10:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Häuslschmid 2007-04-07 14:45:02 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs

With an URL like

  http://www.example.org/uri%20with%20spaces

and using Firefox (mozillafirefox) as component for viewing http/https contents, one can observe a strange behavior of Firefox, as the command line

  kfmclient openURL http://www.example.org/uri%20with%20spaces

is executed.  Firefox will try to open and show three web sites, corresponding to the tokens of the URL that are separated by "%20":

  http://www.example.org/uri
  http://www.with.com/
  http://www.spaces.com/

The forms of the last two URL will depend on the browser's auto-completion configuration.

Both command lines using Firefox or Konqueror directly will expose the expected behavior.
Comment 1 A. Spehr 2008-08-02 10:01:10 UTC
kfmclient(1830)/konqueror ClientApp::createNewWindow: KUrl("http://www.example.org/uri with spaces") mimetype= ""

works fine in Konqueror; both from command line and from "open in new tab". 

Firefox bugs shouldn't be reported here. As far as I can make out, your problem is:

The default browser is set to be konqueror, but you use firefox, and it opens the url with spaces via kfmclient. 

One guess is that kfmclient translates the %20 too early, and calls firefox with spaces, which are interpreted as multiple sites.

This is a distro bug, so please report it to them if you are still having this problem. 

Possible bug title: kfmclient translates %20 too early with firefox

Thanks!
Comment 2 Jaime Torres 2008-08-02 10:12:40 UTC
Also, notice that the kfmclient help says the url is between ''.