benibela / xidel

Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
http://www.videlibri.de/xidel.html
GNU General Public License v3.0
674 stars 42 forks source link

The $url variable is passed to an expression with special characters (& & etc) #110

Closed Baltazar500 closed 11 months ago

Baltazar500 commented 11 months ago

The $url variable is passed to an expression with special characters (&amp\; & etc), when using "system" (for example, when passing a link to curl), the link becomes broken.

Baltazar500 commented 11 months ago

After adding two pairs of quotes on both ends of the link, everything worked successfully

Sorry for disturbing