bugGNU TeXmacs - Bugs: bug #59960, Hyperlinks must be correctly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59960: Hyperlinks must be correctly escaped in shell commands

Submitter:  Massimiliano Gubinelli <mgubi>
Submitted:  Thu 28 Jan 2021 11:13:06 AM UTC
   
 
Category:  File Manager Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  sadhen
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.18
Fixed Release:  None Fixed Release: 
Keywords: 

Mon 01 Mar 2021 09:46:52 PM UTC, comment #2: 

It works for me too.

Please re-open if you still have problems.

Joris van der Hoeven <vdhoeven>
Group administrator
Mon 15 Feb 2021 06:25:22 AM UTC, comment #1: 

See r13330

I fixed it by quoting the url and tested on macOS.

Darcy Shen <sadhen>
Group Member
Thu 28 Jan 2021 11:13:06 AM UTC, original submission:  

I experienced the following problem:

sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `open https://doi.org/10.1016/S0370-1573(01)00042-4'

when TeXmacs try to open the above hyperlink (in an \hlink markup) when I click over it. We need to be sure that shell commands are properly escaped. In the situation above the '(' charcter is a special character in the shell. Maybe just sourrunding the arguments with quotes should do the trick.

Massimiliano Gubinelli <mgubi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by sadhen (Posted a comment)
  • -email is unavailable- added by mgubi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-01 vdhoeven StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2021-02-15 sadhen StatusConfirmed Ready For Test
        Assigned toNone sadhen

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code