New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse URI in Ipv6 #3191
Comments
Can you show us a full stack trace. That screenshot is near useless. Possibly this is a curl bug - can you try with 8.4.0? |
is this? [2023-11-17 22:44:39] local.ERROR: Unable to parse URI: http://[2409:801a:3000:0020::111.40.186.36]/b/nd6.baidupcs.com/file/58f92ed2289e66ff59a671f183c2c569?bkt=en-038bee77e919b76a2b7812a7a3787805152a8e1754ed45aeedf889a9b43b10f72addc99ed956f769&xcode=fe2f6303a15fb93c6cdc96afc010f5331fe740094d5344fbe9b30fb9fe052f298872b699484ffd41&fid=324121579-250528-761385912993830&time=1700229887&sign=FDTAXUbGERQlBHSKfqiu-DCb740ccc5511e5e8fedcff06b081203-Ur4fyDLYPj1a4hfAPLRRKq6z3do%3D&to=nd6&size=8255082&sta_dx=8255082&sta_cs=4183&sta_ft=zip&sta_ct=7&sta_mt=5&fm2=MH%2CBaoding%2CAnywhere%2C%2C%E6%B2%B3%E5%8D%97%2Ccmnet&ctime=1569282612&mtime=1684732598&resv0=-1&resv1=0&resv2=rlim&resv3=5&resv4=8255082&vuk=264192701&iv=2&htype=&randtype=&tkbind_id=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=en-30ca520a677f9a8d9f058b10d66a1d1a8ae86580d28a98595e1bc6c6d8a51962baf13026f964fe91&expires=8h&rt=sh&r=726687287&vbdid=2503992598&fin=%E8%A7%86%E9%A2%91%E5%89%AA%E5%88%87%E5%90%88%E5%B9%B6%E5%99%A8.zip&rtype=1&dp-logid=525511616800316189&dp-callid=0.1&tsl=0&csl=0&fsl=-1&csign=ygoiUO9Yb4pT5U7tcKi6geiBbv8%3D&so=1&ut=1&uter=0&serv=0&uc=3031334550&ti=b901726ac386759c2ad33676c7e4eeadd357324b9da7620d305a5e1275657320&hflag=10&from_type=3&adg=c_10cab0304460e6c31ca6383e54bca004&reqlabel=250528_f_0d379c25691f1db02fd2dff786ffd19a_-1_e575750a3c4aa01749b9e79faa454520&by=themis&resvsflag=1-12-0-1-1-1 {"exception":"[object] (GuzzleHttp\Psr7\Exception\MalformedUriException(code: 0): Unable to parse URI: http://[2409:801a:3000:0020::111.40.186.36]/b/nd6.baidupcs.com/file/58f92ed2289e66ff59a671f183c2c569?bkt=en-038bee77e919b76a2b7812a7a3787805152a8e1754ed45aeedf889a9b43b10f72addc99ed956f769&xcode=fe2f6303a15fb93c6cdc96afc010f5331fe740094d5344fbe9b30fb9fe052f298872b699484ffd41&fid=324121579-250528-761385912993830&time=1700229887&sign=FDTAXUbGERQlBHSKfqiu-DCb740ccc5511e5e8fedcff06b081203-Ur4fyDLYPj1a4hfAPLRRKq6z3do%3D&to=nd6&size=8255082&sta_dx=8255082&sta_cs=4183&sta_ft=zip&sta_ct=7&sta_mt=5&fm2=MH%2CBaoding%2CAnywhere%2C%2C%E6%B2%B3%E5%8D%97%2Ccmnet&ctime=1569282612&mtime=1684732598&resv0=-1&resv1=0&resv2=rlim&resv3=5&resv4=8255082&vuk=264192701&iv=2&htype=&randtype=&tkbind_id=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=en-30ca520a677f9a8d9f058b10d66a1d1a8ae86580d28a98595e1bc6c6d8a51962baf13026f964fe91&expires=8h&rt=sh&r=726687287&vbdid=2503992598&fin=%E8%A7%86%E9%A2%91%E5%89%AA%E5%88%87%E5%90%88%E5%B9%B6%E5%99%A8.zip&rtype=1&dp-logid=525511616800316189&dp-callid=0.1&tsl=0&csl=0&fsl=-1&csign=ygoiUO9Yb4pT5U7tcKi6geiBbv8%3D&so=1&ut=1&uter=0&serv=0&uc=3031334550&ti=b901726ac386759c2ad33676c7e4eeadd357324b9da7620d305a5e1275657320&hflag=10&from_type=3&adg=c_10cab0304460e6c31ca6383e54bca004&reqlabel=250528_f_0d379c25691f1db02fd2dff786ffd19a_-1_e575750a3c4aa01749b9e79faa454520&by=themis&resvsflag=1-12-0-1-1-1 at C:\xampp\htdocs\94list-laravel\vendor\guzzlehttp\psr7\src\Uri.php:85) |
I am using the latest version of xampp. I don't know how to update php_curl.php. If I replace it with the new version, it will cause a crash. |
What version of |
|
Oh, hmmm. I guess we don't include the optional IPv4 component at this time. |
i ask the newbing,she said the same word,but i don't known why idm can work well with this link,or how can i solve this problem?😭 |
https://github.com/huankong233/94list-laravel/blob/main/composer.lock this is my lock file |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you for your contributions. |
undone yet 😉 |
Closing since there is no capacity on our side to fix this. We'd accept external contributions, however. |
Guzzle version(s) affected: 7.8.1
PHP version: 8.2.3
cURL version: 7.86.0 and 8.4.0
Description
Unable to parse URI in Ipv6.
But I can download with this link in IDM.
Tip: This link may have an expiration date.
How to reproduce
using with laravel v10.10
Possible Solution
I don't known.😫
Additional context
The text was updated successfully, but these errors were encountered: