Project

General

Profile

Bug #1773

encoded slashes in object format requests not handled properly

Added by Dave Vieglais over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Ben Leinfelder
Category:
Metacat
Target version:
Start date:
2011-09-06
Due date:
% Done:

100%

Milestone:
CCI-0.6.4
Product Version:
*
Story Points:
Sprint:

Description

A request to /formats/{fmtid} with a fmtid that contains a slash (e.g. text/csv) is escaped according to RFC3986, e.g.:

https://cn-dev.dataone.org/knb/d1/cn/formats/text%2Fcsv

The response from the service suggests that the encoded slash is not handled correctly:

<?xml version="1.0" encoding="UTF-8"?>

The format specified by csv does not exist at this node.

History

#1 Updated by Ben Leinfelder over 12 years ago

  • Status changed from New to Closed

Not using lastIndexOf("/") any more (in Metacat implementation).

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)