Project

General

Profile

Actions

Feature #4324

open

FaceUri: per-scheme parsing

Added by Junxiao Shi about 7 years ago. Updated 11 months ago.

Status:
In Progress
Priority:
Normal
Category:
Network
Target version:
-
Start date:
Due date:
% Done:

40%

Estimated time:

Description

Currently, FaceUri parses a string with a set of regular expressions, but performs canonization with per-scheme logic. This causes FaceUri to incorrectly accept invalid input in several occasions.
This issue is to refactor FaceUri to have per-scheme parsing logic, and reject invalid input during parsing instead of during canonization.


Related issues 4 (3 open1 closed)

Related to ndn-cxx - Bug #4474: FaceUri throws "Malformed URI" for IPv6 UDP multicast addressClosedDavide Pesavento01/24/2018

Actions
Blocks ndn-cxx - Bug #3896: FaceUri::parse doesn't reject some invalid unix:// URIsNew

Actions
Blocks ndn-cxx - Bug #3897: FaceUri::canonize doesn't always validate the port numberNew

Actions
Blocks ndn-cxx - Bug #4100: FaceUri::parse doesn't reject IPv4 addresses with v6 scheme (and vice versa)New

Actions
Actions

Also available in: Atom PDF