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: Patrick MONNERAT <monnerat_at_users.sf.net>
Date: Wed, 17 Dec 2014 14:57:03 +0000

Just pushed a slightly modified fix.
https://github.com/bagder/curl/commit/14c3601583bfe171a33971115220378d5076e3b8
Thanks for reporting.

---
** [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:** Tue Dec 09, 2014 12:02 AM 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.