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: Steve Holme <captain-caveman_at_users.sf.net>
Date: Wed, 17 Dec 2014 20:55:07 +0000

- **status**: open-confirmed --> closed-fixed

---
** [bugs:#1449] curl improperly removes non-numeric scope identifiers from IPv6 addresses**
**Status:** closed-fixed
**Created:** Mon Nov 10, 2014 01:01 PM UTC by Kyle
**Last Updated:** Wed Dec 17, 2014 02:57 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-12-17

These mail archives are generated by hypermail.