Project

General

Profile

Actions

Bug #3896

open

FaceUri::parse doesn't reject some invalid unix:// URIs

Added by Davide Pesavento about 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

One such example is "unix://foo/bar", where the parser would interpret "foo" as the host component and "bar" as the path component of the URI.


Related issues 1 (1 open0 closed)

Blocked by ndn-cxx - Feature #4324: FaceUri: per-scheme parsingIn ProgressDavide Pesavento

Actions
Actions #1

Updated by Junxiao Shi over 7 years ago

I think the solution is to abandon regex-based parsing, but implement a parser for each scheme which encodes the specific rules for that scheme. The parser is generalized from canonize provider.

Actions #2

Updated by Davide Pesavento over 7 years ago

Junxiao Shi wrote:

I think the solution is to abandon regex-based parsing, but implement a parser for each scheme which encodes the specific rules for that scheme.

I'd tend to agree.

Actions #3

Updated by Junxiao Shi over 7 years ago

  • Related to Bug #4100: FaceUri::parse doesn't reject IPv4 addresses with v6 scheme (and vice versa) added
Actions #4

Updated by Davide Pesavento over 7 years ago

  • Category changed from Utils to Network
Actions #5

Updated by Junxiao Shi about 7 years ago

Actions #6

Updated by Junxiao Shi almost 7 years ago

  • Related to deleted (Bug #4100: FaceUri::parse doesn't reject IPv4 addresses with v6 scheme (and vice versa))
Actions

Also available in: Atom PDF