Diff for /Amaya/amaya/query.c between versions 1.327 and 1.328

version 1.327, 2003/08/27 08:06:30 version 1.328, 2003/09/15 08:48:27
Line 869  static void SafePut_delete (void) Line 869  static void SafePut_delete (void)
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
   SafePut_query    SafePut_query
   returns true if the domain to which belongs the URL accepts an automatic    returns true if the domain to which the URL belongs accepts an automatic
   PUT redirect.    PUT redirect.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 static ThotBool SafePut_query (char *url)  static ThotBool SafePut_query (char *url)
Line 892  static ThotBool SafePut_query (char *url Line 892  static ThotBool SafePut_query (char *url
           found = TRUE;            found = TRUE;
           break;            break;
         }           } 
     }       }
   
   return (found);    return (found);
 }  }
Line 970  static int redirection_handler (HTReques Line 970  static int redirection_handler (HTReques
        ** Start request with new credentials          ** Start request with new credentials 
        */         */
        /* only do a redirect using a network protocol understood by Amaya */         /* only do a redirect using a network protocol understood by Amaya */
        strcpy (urlAdr, new_anchor->parent->address);         strncpy (urlAdr, new_anchor->parent->address, MAX_LENGTH - 1);
          urlAdr[MAX_LENGTH - 1] = EOS;
        if (IsValidProtocol (urlAdr))         if (IsValidProtocol (urlAdr))
          {           {
            /* if it's a valid URL, we try to normalize it */             /* if it's a valid URL, we try to normalize it */

Removed from v.1.327  
changed lines
  Added in v.1.328


Webmaster