mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Make utf variable const pointer
This commit is contained in:
@@ -46,7 +46,7 @@ static inline bool encode(std::string &value) {
|
||||
int unicode_len = 0;
|
||||
unsigned int d = 0;
|
||||
unsigned char c;
|
||||
auto utf = &input[i];
|
||||
const auto* utf = &input[i];
|
||||
|
||||
c = *utf;
|
||||
|
||||
|
Reference in New Issue
Block a user