cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1449 curl improperly removes non-numeric scope identifiers from IPv6 addresses

From: Kyle <mackyle_at_users.sf.net>
Date: Mon, 10 Nov 2014 13:01:47 +0000

---
** [bugs:#1449] curl improperly removes non-numeric scope identifiers from IPv6 addresses**
**Status:** open
**Created:** Mon Nov 10, 2014 01:01 PM UTC by Kyle
**Last Updated:** Mon Nov 10, 2014 01:01 PM UTC
**Owner:** Daniel Stenberg
Given "https://[fe80::1%en1]:8888/" curl incorrectly turns that into "https://[fe80::1]:88]:8888/" after removing the scope identifier and then tries to connect to port 88.
The bug also affects '%25' non-numeric scope names.  Numeric scope names are handled by a different branch of the code and work properly.
Patch attached here.  Could make it a GitHub pull request if preferred.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-11-10

These mail archives are generated by hypermail.