curl: (3) URL using bad/illegal format or missing URL

Problems with packages? Post here, using [tags] of the package name.

curl: (3) URL using bad/illegal format or missing URL

Postby treeshateorcs » Thu Jun 01, 2023 1:16 pm

minimal reproducible example:

$this->bbcode_second_pass_code('', 'curl -F'file=@anyfile.png' https://0x0.st
curl: (3) URL using bad/illegal format or missing URL

curl --version
curl 8.1.0 (aarch64-unknown-linux-gnu) libcurl/8.1.0 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.10.0 nghttp2/1.53.0
Release-Date: 2023-05-17
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
')

i've tested this with curl v8.1.2 (installed with brew, on macos) and it works fine
treeshateorcs
 
Posts: 3
Joined: Sat May 28, 2022 11:56 pm

Re: curl: (3) URL using bad/illegal format or missing URL

Postby treeshateorcs » Thu Jun 01, 2023 1:18 pm

apparently it's this bug https://github.com/curl/curl/issues/11129

with this specific version of curl

solution is to upgrade curl to 8.1.1
treeshateorcs
 
Posts: 3
Joined: Sat May 28, 2022 11:56 pm

Re: curl: (3) URL using bad/illegal format or missing URL

Postby BlakeZ10 » Mon Jul 31, 2023 8:11 am

It seems there is an issue with the URL provided. The link appears to be using a bad or illegal format, or it might be missing altogether. To ensure a smooth user experience and access to relevant content, it's crucial to double-check and correct the URL. For instance, you can try using the correct formatmake_clickable_callback(MAGIC_URL_FULL, ' ',
make_clickable_callback(MAGIC_URL_FULL, ' ', [url]https://www.vpesports.com/betting/stake[/url] , '', ' class="postlink"') .', '', ' class="postlink"') It's essential to maintain proper URL formatting to avoid confusion and make sure users can access the intended information without any inconvenience.
BlakeZ10
 
Posts: 1
Joined: Mon Jul 31, 2023 8:10 am


Return to Packages

Who is online

Users browsing this forum: denk and 8 guests