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: Daniel Stenberg <bagder_at_users.sf.net>
Date: Tue, 09 Dec 2014 00:02:08 +0000

- **status**: open --> open-confirmed
- **Comment**:

I've been able to repeat it.

---
** [bugs:#1449] curl improperly removes non-numeric scope identifiers from IPv6 addresses**
**Status:** open-confirmed
**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-12-09

These mail archives are generated by hypermail.