Changeset 311

Show
Ignore:
Timestamp:
06/06/07 18:42:57 (1 year ago)
Author:
florida
Message:

Ajout des corrections des tickets 324 et 266 (voir trac wifidog)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wifidog/wifidog-client/libhttpd/api.c

    r289 r311  
    572572        } 
    573573 
     574 
     575#if 0 
     576        /* XXX: For WifiDog, we only process the query string parameters  
     577           but keep the GET variables in the request.query! 
     578        */ 
    574579        /* 
    575580        ** Process and POST data 
    576581        */ 
    577 #if 0 
    578582        if (r->request.contentLength > 0) 
    579583        { 
     
    584588        } 
    585589#endif 
    586          
     590 
    587591        /* 
    588592        ** Process any URL data 
     
    591595        if (cp != NULL) 
    592596        { 
    593                *cp = 0; 
    594                 cp++
     597                *cp++ = 0; 
     598                strncpy(r->request.query, cp, sizeof(r->request.query))
    595599                _httpd_storeData(r, cp); 
    596600        } 
    597         return(0); 
     601 
     602        return(0); 
    598603} 
    599604 
  • wifidog/wifidog-client/libhttpd/httpd.h

    r289 r311  
    9999                authLength; 
    100100        char    path[HTTP_MAX_URL], 
     101                query[HTTP_MAX_URL], 
    101102                host[HTTP_MAX_URL], /* acv@acv.ca/wifidog: Added decoding 
    102103                                       of host: header if present. */ 
     104                ifModified[HTTP_MAX_URL]; 
     105#if(0) 
    103106                userAgent[HTTP_MAX_URL], 
    104107                referer[HTTP_MAX_URL], 
    105                 ifModified[HTTP_MAX_URL], 
    106108                contentType[HTTP_MAX_URL], 
    107109                authUser[HTTP_MAX_AUTH], 
    108110                authPassword[HTTP_MAX_AUTH]; 
     111#endif 
    109112} httpReq; 
    110113