Ignore:
Timestamp:
1999-11-04T11:49:10+13:00 (25 years ago)
Author:
sjboddie
Message:

A location url may now contain macros

File:
1 edited

Legend:

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

    r760 r769  
    2828/*
    2929   $Log$
     30   Revision 1.39  1999/11/03 22:49:10  sjboddie
     31   A location url may now contain macros
     32
    3033   Revision 1.38  1999/11/01 21:49:34  sjboddie
    3134   changes to arguments of many functions
     
    776779  get_cgihead_info (args, response, response_data, logout);
    777780  if (response == location) {
    778     // location response
    779     contentout << text_t2ascii << "Location: " << response_data << "\n\n";
     781    // location response (url may contain macros!!)
     782    text_t ex_location;
     783    action *a = actions.getaction (args["a"]);
     784    prepare_page (a, args, text_t2ascii, logout);
     785    disp.expandstring ("Global", response_data, ex_location);
     786    contentout << text_t2ascii << "Location: " << ex_location << "\n\n";
    780787    contentout << flush;
    781788    return true;
Note: See TracChangeset for help on using the changeset viewer.