strip IPv6 scope id in more contexts
Submitted by Arnaud Vrac
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#756640)
Description
Using the get example, the following request fails:
http://127.0.0.1 'http://[fe80::1234:5678:1234:5678%eth0]/'
get -d -pOn the proxy I receive this:
GET http://[fe80::1234:5678:1234:5678%25eth0]/ HTTP/1.1 Host: [fe80::1234:5678:1234:5678] Accept-Encoding: gzip, deflate User-Agent: get libsoup/2.52.1 Accept-Language: en Connection: Keep-Alive
Obviously the % character for the ipv6 scope should not be uri-encoded in this case.
Version: 2.52.x