mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
Added HTML escaping
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@463 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -34,6 +34,8 @@ static const unsigned char base64_table[256] = {
|
||||
XX,XX,XX,XX, XX,XX,XX,XX, XX,XX,XX,XX, XX,XX,XX,XX,
|
||||
};
|
||||
|
||||
extern const char* g_szHTMLescapes[256];
|
||||
|
||||
class CString : public string {
|
||||
public:
|
||||
typedef enum {
|
||||
@@ -47,6 +49,7 @@ public:
|
||||
CString(const string& s) : string(s) {}
|
||||
virtual ~CString() {}
|
||||
|
||||
inline unsigned char* strnchr(const unsigned char* src, unsigned char c, unsigned int iMaxBytes, unsigned char* pFill = NULL, unsigned int* piCount = NULL) const;
|
||||
int CaseCmp(const CString& s) const;
|
||||
int StrCmp(const CString& s) const;
|
||||
static bool WildCmp(const CString& sWild, const CString& sString);
|
||||
|
||||
Reference in New Issue
Block a user