mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Make utf variable const pointer
This commit is contained in:
parent
dc40880663
commit
d3c1ad7177
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user