! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo-open fails opening URL containing single quotes
Status:
RESOLVED: MOVED

Comments

Description denis.prost 2013-10-16 22:03:00 CEST
Created attachment 5188 
error box happening when opening URL containing single quote with exo-open

(this is with exo 0.10.2 on Mageia 3)

when I run, for example :

exo-open "https://www.dropbox.com/s/5g244i0xieg5xus/2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf", 

with firefox set as default web browser, I get the error box shown in attached screenshot, while, if I run the same command with any other URL not containing single quote, it opens properly in firefox.

So, there seems to be something wrong with exo-open single quote management.

Regards,

Denis
Comment 1 Sean Davis editbugs 2015-02-17 01:40:35 CET
Please test this again with the current git master. I tried accessing the link you provided and the URL was valid in the browser (but link no longer available).
Comment 2 Harald Judt editbugs 2015-02-22 09:47:09 CET
The following still fails when executed from the command line:

exo-open "https://www.dropbox.com/s/5g244i0xieg5xus/2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf"

Failed to execute default Web Browser.

Text ended before matching quote was found for '. (The text was '/usr/bin/firefox https://www.dropbox.com/s/5g244i0xieg5xus/2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf').

So the bug is still valid.

It seems exo can't deal with space characters. If you escape the ' with \', then it will open several browser windows, depending on how many spaces there are in the link.
Comment 3 onkelho 2015-03-10 11:44:20 CET
can this be a bug in compilation-settings of firefox itself?

i becomes this as errors with firefox as prefered Webbrowser in settings:
[guest@localhost ~]$ exo-open "https://www.dropbox.com/s/5g244i0xieg5xus/2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf"
[guest@localhost ~]$ 
(process:8699): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Error: Failed to send command: 500 command not parseable

[guest@localhost ~]$
and nothings go on,
but with opera as prefered webbrowser becomes:
[guest@localhost ~]$ exo-open "https://www.dropbox.com/s/5g244i0xieg5xus/2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf"
[guest@localhost ~]$ libGL error: open uki failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

[guest@localhost ~]$
and he open all normal
Comment 4 onkelho 2015-03-10 11:47:36 CET
the same results in

exo-open --launch WebBrowser

with firefox nothings
with opera all ok

and also the same warrnings as above
Comment 5 Sean Davis editbugs 2015-05-22 04:12:45 CEST
Created attachment 6275 
exo-open with exo 0.10.4 in Xubuntu 15.04

The link opens fully in Firefox with Xubuntu 15.04, Xfce 4.12, exo 0.10.4
Comment 6 Adam Spiers 2015-09-24 00:41:12 CEST
I see this problem even with 0.10.7.
Comment 7 Adam Spiers 2015-09-24 18:59:50 CEST
I think this is a generic problem with gvfs, since the same thing happens when using gvfs-open instead of exo-open.
Comment 8 Git Bot editbugs 2020-05-25 22:54:24 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/exo/-/issues/6.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10410

Reported by:
denis.prost
Reported on: 2013-10-16
Last modified on: 2020-05-25

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Version:
unspecified

Attachments

Additional information