You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Recipe Robot produces an error when processing a URL that contains an unescaped ampersand, even if the URL is valid. This is due to an upstream failure in curl.
This URL, including spaces and ampersand, is valid. It downloads a file when loaded in a browser: http://s3.amazonaws.com/belightsoft/updates/Labels & Addresses.tar.bz2
However, when processing with curl, an error is produced:
% curl -svIL "http://s3.amazonaws.com/belightsoft/updates/Labels & Addresses.tar.bz2"
* URL rejected: Malformed input to a URL function
* Closing connection -1
Describe the bug
Recipe Robot produces an error when processing a URL that contains an unescaped ampersand, even if the URL is valid. This is due to an upstream failure in
curl
.This URL, including spaces and ampersand, is valid. It downloads a file when loaded in a browser:
http://s3.amazonaws.com/belightsoft/updates/Labels & Addresses.tar.bz2
However, when processing with
curl
, an error is produced:One solution may be to quote the URL:
However it's hard to tell which URLs to quote and which to leave as is.
Environment:
autopkg version
: 3.0.0rc2/usr/local/autopkg/python --version
: 3.10.4The text was updated successfully, but these errors were encountered: