After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 564393 - Character encoding causes URI not to open
Character encoding causes URI not to open
Status: RESOLVED DUPLICATE of bug 546256
Product: gnome-terminal
Classification: Core
Component: general
2.24.x
Other All
: Normal minor
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-13 16:53 UTC by Tom Morris
Modified: 2008-12-13 18:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Tom Morris 2008-12-13 16:53:26 UTC
Please describe the problem:
The URI <http://www.plosgenetics.org/article/info%3Adoi%2F10.1371%2Fjournal.pgen.1000297> does not open when I right click on it and choose 'Open Link' in the contextual menu. Instead, I get two errors.

Steps to reproduce:
1. Paste the URI <http://www.plosgenetics.org/article/info%3Adoi%2F10.1371%2Fjournal.pgen.1000297> into the terminal in, say, a Vim or Emacs window (or, as I had it, in a message in mutt).
2. Right-click on it and choose 'Open Link' from the contextual menu.


Actual results:
Two popup boxes appear, one saying "Could not open the address “http://www.plosgenetics.org/article/info%3Adoi%2F10.1371%2Fjournal.pgen.1000297”:
Operation not supported" and the other saying "An error occurred while loading or saving configuration information for gnome-terminal. Some of your configuration settings may not work properly.". In that box, there is a 'Details' button which, when pressed, reveals a multi-line text field containing "Bad key or directory name: "/desktop/gnome/url-handlers/": Key/directory may not end with a slash '/'"

Expected results:
The URI to open in my web browser (firefox) as with other http:// URIs.

Does this happen every time?
Yes.

Other information:
Comment 1 Yoan Blanc 2008-12-13 16:58:40 UTC
Works with gnome-terminal 2.22.3
Comment 2 Christian Persch 2008-12-13 18:23:00 UTC
Crahes in g-t trunk, using glib and gvfs trunk:

Program received signal SIGSEGV, Segmentation fault.

Thread 3070834432 (LWP 16999)

  • #0 g_mount_spec_canonicalize_path
    at gmountspec.c line 572
  • #1 g_daemon_file_new
    at gdaemonfile.c line 99
  • #2 g_daemon_vfs_get_file_for_uri
    at gdaemonvfs.c line 433
  • #3 g_vfs_get_file_for_uri
    at gvfs.c line 123
  • #4 g_file_new_for_uri
    at gfile.c line 4871
  • #5 g_app_info_launch_default_for_uri
    at gappinfo.c line 632
  • #6 gtk_show_uri
    at gtkshow.c line 72


-> gvfs

*** This bug has been marked as a duplicate of 546256 ***