Ignore:
Timestamp:
2008-08-12T12:45:23+12:00 (16 years ago)
Author:
mdewsnip
Message:

Minor fixes for validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/recordaction.cpp

    r16715 r16718  
    7878    return false;
    7979  }
     80
    8081  // Check that the metadataPrefix is a format we support
    8182  if (this->formatNotSupported(metadataPrefix))
     
    8788  // The "identifier" argument is required
    8889  text_t identifier = params["identifier"];
     90
     91  // Check that the identifier argument exists
     92  if (identifier == "")
     93  {
     94    this->errorType = "badArgument";
     95    return false;
     96  }
    8997
    9098  // Extract the collection name from the identifier specification
Note: See TracChangeset for help on using the changeset viewer.