Revision 7318
Added by ben leinfelder almost 12 years ago
MNodeService.java | ||
---|---|---|
232 | 232 |
Subject subject = session.getSubject(); |
233 | 233 |
|
234 | 234 |
// verify the pid is valid format |
235 |
if (isValidIdentifier(pid)) { |
|
235 |
if (!isValidIdentifier(pid)) {
|
|
236 | 236 |
throw new InvalidRequest("1202", "The provided identifier is invalid."); |
237 | 237 |
} |
238 | 238 |
|
Also available in: Unified diff
check for invalid (!) pids. thanks, M. Reyes for catching this
https://redmine.dataone.org/issues/3047