-const char encode_rcs[] = "$Id: encode.c,v 1.27 2012/03/09 17:55:49 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/encode.c,v $
* encode cookies and HTML text.
*
* Copyright : Written by and Copyright (C) 2001 the
- * Privoxy team. http://www.privoxy.org/
+ * Privoxy team. https://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
* by and Copyright (C) 1997 Anonymous Coders and
#include "miscutil.h"
#include "encode.h"
-const char encode_h_rcs[] = ENCODE_H_VERSION;
-
/* Maps special characters in a URL to their equivalent % codes. */
static const char url_code_map[256][4] = {
"", "%01", "%02", "%03", "%04", "%05", "%06", "%07", "%08", "%09",
}
*p = '\0';
+
+ assert(strlen(buf) < buf_size);
}
- assert(strlen(buf) < buf_size);
return(buf);
}
*p = '\0';
+ assert(strlen(buf) < buf_size);
}
- assert(strlen(buf) < buf_size);
return(buf);
}
}
}
*p = '\0';
- }
- assert(strlen(buf) < buf_size);
+ assert(strlen(buf) < buf_size);
+ }
return(buf);