Skip to content

Add `--globoff` flag to the curl command for Jobs API.

Jean-Pierre Huynh requested to merge jp_huynh/gitlab-ce:patch-71 into master

What does this MR do?

  • Add --globoff flag to the curl command for Jobs API documentation.

Details

The existing command fail in some cases with the following error curl: (3) [globbing] bad range specification in column 56.

This was found when running cURL from a python:3.7 container that comes with curl version 7.52.1.

root@91963a56cd8f:/# curl --version
curl 7.52.1 (x86_64-pc-linux-gnu) libcurl/7.52.1 OpenSSL/1.0.2r zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL 

This doesn't seem to be an issue with curl 7.58.0 but it doesn't hurt to have that flag enabled.

Merge request reports