mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-15 17:12:14 +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;
|
int unicode_len = 0;
|
||||||
unsigned int d = 0;
|
unsigned int d = 0;
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
auto utf = &input[i];
|
const auto* utf = &input[i];
|
||||||
|
|
||||||
c = *utf;
|
c = *utf;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user