Project

General

Profile

Task #1036

Bug #1034: identifier in resolve response objectLocation/url not escaped

add url encoding to url string in cn/resolve filter

Added by Rob Nahf over 13 years ago. Updated over 13 years ago.

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

100%

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

Description

add URLencoder.encode function to the url returned in the objectlocationlist. Create appropriate tests.

History

#1 Updated by Rob Nahf over 13 years ago

  • Assignee set to Rob Nahf

#2 Updated by Rob Nahf over 13 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

rewrote the encoding function for cn/resolve (putting it in ResolveUtilities), and added unit tests to test the encoding for various code-point ranges (ascii, non-ascii BMP, and supplementary). The encoding works for all legal Unicode code-points. The encoding is in UTF-8. Referred to http://www.utf8-chartable.de/unicode-utf8-table.pl to determine expected mapping / encoding.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)