nushell/nushell
IPv6 LL addresses with link suffix (%eth0) don't work
Ouverte
#9 065 ouverte le 30 avr. 2023
A:networkingcategory:enhancementgood first issue
Métriques du dépôt
- Stars
- (39 478 étoiles)
- Métriques de merge PR
- (Merge moyen 4j 1h) (123 PRs mergées en 30 j)
Description
Describe the bug
When using the http get command with a link local address, the url is refused:
Error: nu::shell::unsupported_input
× Unsupported input
╭─[entry #76:1:1]
1 │ http get 'http://[fe80::13%eth0]'
· ────┬─── ────────────┬───────────
· │ ╰── input type: value: '"http://[fe80::13%eth0]"'
· ╰── Incomplete or incorrect URL. Expected a full URL, e.g., https://www.example.com
╰────
curl in the meantime happily processes the url: curl 'http://[fe80::13%eth0]'
How to reproduce
http get 'http://[fe80::13%eth0]'
Expected behavior
The request is carried out
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.79.0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.68.2 (9eb3afe9e 2023-03-27) (built from a source tarball) |
| cargo_version | cargo 1.68.1 |
| build_time | 1980-01-01 00:00:00 +00:00 |
| build_rust_channel | release |
| features | default, zip |
| installed_plugins |
Additional context
No response