mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 20:17:43 +03:00
Aug 20th update
This commit is contained in:
@@ -733,6 +733,12 @@ inline void replaceAll(std::string& str, const std::string& from, const std::str
|
||||
start_pos += to.length(); // In case 'to' contains 'from', like replacing 'x' with 'yx'
|
||||
}
|
||||
}
|
||||
|
||||
inline std::string replaceAllCopy(std::string str, const std::string& from, const std::string& to) {
|
||||
replaceAll(str, from, to);
|
||||
return str;
|
||||
}
|
||||
|
||||
inline void alignBase64Chunk (std::string &chunk)
|
||||
{
|
||||
size_t len = chunk.length() % 4;
|
||||
|
Reference in New Issue
Block a user