costin 02/04/18 19:36:23 Modified: jk/native2/include jk_requtil.h Log: Moved some of the utils that were in iis to common. This will avoid future duplication. And will allow more servers to use more common code. In particular checking for web-inf and meta-inf MUST be integrated into the main mapper and changed ( so it doesn't alter the original uri ). Few other things will likely be usefull in other components. Revision Changes Path 1.6 +15 -0 jakarta-tomcat-connectors/jk/native2/include/jk_requtil.h Index: jk_requtil.h =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_requtil.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- jk_requtil.h 20 Mar 2002 23:44:00 -0000 1.5 +++ jk_requtil.h 19 Apr 2002 02:36:23 -0000 1.6 @@ -174,6 +174,21 @@ unsigned char *buf, unsigned len); +int jk_requtil_escapeUrl(const char *path, char *dest, int destsize); + +int jk_requtil_unescapeUrl(char *url); + +int jk_requtil_uriIsWebInf(char *uri); + +void jk_requtil_getParents(char *name); + +/** return the size of the encoding of a certificate */ +int jk_requtil_base64CertLen(int len); + +/** Do a base-64 encoding of the certificate */ +int jk_requtil_base64EncodeCert(char *encoded, + const unsigned char *string, int len); + #ifdef __cplusplus } #endif /* __cplusplus */
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>