Checklist
How often does this bug occurs?
always
Expected behavior
"When the --idf-mirror parameter is used, priority should be given to the address specified in the parameter."
Actual behavior (suspected bug)
If the https:// prefix is added, the fastest mirror will be selected automatically; if the https:// prefix is omitted, local resources will be selected instead of online resources.
Error logs or terminal output
Steps to reproduce the behavior
Here is my environment setup, though the reverse implementation could also be possible:
Located in China, testing shows that the Chinese mirrors have lower latency and should naturally be preferred. However, since the preference is to use GitHub, the parameters --idf-mirror [https://github.com](https://github.com) and --idf-mirror github.com were added.
Project release version
latest
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Windows
Operating system version
Windows 11 24H2
Shell
PowerShell
Additional context
This is just one of the parameters; other similar parameters associated with URLs are also highly likely to have issues.
Checklist
How often does this bug occurs?
always
Expected behavior
"When the
--idf-mirrorparameter is used, priority should be given to the address specified in the parameter."Actual behavior (suspected bug)
If the https:// prefix is added, the fastest mirror will be selected automatically; if the https:// prefix is omitted, local resources will be selected instead of online resources.
Error logs or terminal output
Steps to reproduce the behavior
Here is my environment setup, though the reverse implementation could also be possible:
Located in China, testing shows that the Chinese mirrors have lower latency and should naturally be preferred. However, since the preference is to use GitHub, the parameters
--idf-mirror [https://github.com](https://github.com)and--idf-mirror github.comwere added.Project release version
latest
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Windows
Operating system version
Windows 11 24H2
Shell
PowerShell
Additional context
This is just one of the parameters; other similar parameters associated with URLs are also highly likely to have issues.