Project

General

Profile

Actions

Bug #2758

closed

encodeControlParameters does not properly encode parameters for some inputs

Added by Alex Afanasyev about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Command:

  • rib/register

Parameters:

  • Name: ndn:/
  • FaceId: 100

Expected:

  • registered route for ndn:/ towards face id 100

Actual:

  • Malformed command error is returned

Encoding/decoding of ControlParameters must not rely on the fact that the supplied name is empty to determine whether to encode name or not.

Actions #2

Updated by Anonymous about 9 years ago

  • Status changed from New to Closed

Changed ControlParameters to allow a null name. In encodeControlParameters, only omit the name if null.

Actions

Also available in: Atom PDF