diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-17 12:46:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-17 12:47:08 +0100 |
commit | 6f5881e0bb7468a4ff1a52bdbd40cc36102639fd (patch) | |
tree | c52d3dbab5b3e8a91a33eef3c5e9a7ab811d42b6 /src/libserver | |
parent | 76a470911b7b4dfe5bc6f12c91e8633e459d7735 (diff) | |
download | rspamd-6f5881e0bb7468a4ff1a52bdbd40cc36102639fd.tar.gz rspamd-6f5881e0bb7468a4ff1a52bdbd40cc36102639fd.zip |
[Minor] Escape \uFFFD in the sources
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/html/html_entities.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/html/html_entities.cxx b/src/libserver/html/html_entities.cxx index 912da6e58..8a3ff61da 100644 --- a/src/libserver/html/html_entities.cxx +++ b/src/libserver/html/html_entities.cxx @@ -2605,10 +2605,10 @@ TEST_SUITE("html entities") { {"FOO&#ZOO", "FOO&#ZOO"}, {"FOOºR", "FOOºR"}, {"FOO䆺R", "FOO䆺R"}, - {"FOO�ZOO", "FOO�ZOO"}, + {"FOO�ZOO", "FOO\uFFFDZOO"}, {"FOOZOO", "FOO\u0081ZOO"}, - {"FOO�ZOO", "FOO�ZOO"}, - {"FOO�ZOO", "FOO�ZOO"}, + {"FOO�ZOO", "FOO\uFFFDZOO"}, + {"FOO�ZOO", "FOO\uFFFDZOO"}, {"ZZ£_id=23", "ZZ£_id=23"}, {"ZZ&prod_id=23", "ZZ&prod_id=23"}, {"ZZ>", "ZZ>"}, |