Project

General

Profile

Task #1078

Bug #1076: mn.create() not encoding PIDs correctly.

encoding function needed for identifiers in the param section of urls

Added by Rob Nahf about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
2010-11-15
Due date:
% Done:

100%

Estimated time:
1.00 h
Milestone:
Product Version:
*
Story Points:
Sprint:

Description

MNode has two methods that pass the identifer as a url parameter [ setAccess(), handleCreateorUpdate() ]. Encoding rules may vary from those for path segments. Need to modify encodeIdentifier function to avoid confusion and do the right thing for both cases.

History

#1 Updated by Rob Nahf about 14 years ago

  • Status changed from New to Closed

Refactored the encoding utility function to encode "query segments" (parts of URI query section between the delimiters "&" and "="), and created unit tests for the new methods.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)