Changeset 4984


Ignore:
Timestamp:
2003-07-19T05:37:01+12:00 (21 years ago)
Author:
sjboddie
Message:

Bug fix to recent changes in collection authentication code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/documentaction.cpp

    r4974 r4984  
    170170   if(!args["d"].empty())
    171171      {
     172     text_t docTop;
     173     get_top(args["d"],docTop);
     174     
    172175     recptproto* collectproto = protos->getrecptproto (args["c"], logout);
    173176     if (collectproto != NULL)
     
    194197             
    195198             // only allowallexcept is set, so ask to authenticate for that article/doc
    196              else if (cinfo->allowallexcept.find(args["d"]) != cinfo->allowallexcept.end() )
     199             else if (cinfo->allowallexcept.find(docTop) != cinfo->allowallexcept.end() )
    197200            {
    198201               
     
    202205             
    203206             // only denyallexcept is set, so ask to authenticate for that article/doc
    204              else if (cinfo->denyallexcept.find(args["d"]) == cinfo->denyallexcept.end() )
     207             else if (cinfo->denyallexcept.find(docTop) == cinfo->denyallexcept.end() )
    205208            {
    206209               args["uan"] = "1";
Note: See TracChangeset for help on using the changeset viewer.