Revision 8715
Added by ben leinfelder over 10 years ago
src/edu/ucsb/nceas/metacat/restservice/MNResourceHandler.java | ||
---|---|---|
359 | 359 |
if (query.startsWith("/")) { |
360 | 360 |
query = query.substring(1); |
361 | 361 |
} |
362 |
// remove the query delimiter if it exists |
|
363 |
if (query.startsWith("?")) { |
|
364 |
query = query.substring(1); |
|
365 |
} |
|
362 | 366 |
} |
363 | 367 |
logMetacat.debug("query: " + query); |
364 | 368 |
|
Also available in: Unified diff
remove leading '?' in the query parameter for MN.query() implementation. We want it to match CN behavior/expectations and comply with the DataONE specification for the interface. https://projects.ecoinformatics.org/ecoinfo/issues/6488