Changeset 12161


Ignore:
Timestamp:
2006-07-12T11:00:39+12:00 (18 years ago)
Author:
mdewsnip
Message:

Fixed up the "I'm feeling lucky" functionality, which was broken when all "&" were changed to "&".

File:
1 edited

Legend:

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

    r12000 r12161  
    13671367      ResultDocInfo_tarray::iterator thissection = response.docInfo.begin();
    13681368      if (thissection != response.docInfo.end()) {
    1369     text_t& arg_d = (*thissection).OID;
    1370     text_t doc_url = "_httpdocument_";
    1371     doc_url += "&c=" + collection;
    1372     doc_url += "&d=" + arg_d;
     1369    // This URL must have "&" and not "&"!
     1370    text_t doc_url = "_gwcgi_?e=_compressedoptions_&a=d&c=" + collection + "&d=" + (*thissection).OID;
    13731371
    13741372    // location response (url may contain macros!!)
Note: See TracChangeset for help on using the changeset viewer.