aboutsummaryrefslogtreecommitdiff
path: root/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/restbed/files/patch-source_corvusoft_restbed_uri.cpp')
-rw-r--r--www/restbed/files/patch-source_corvusoft_restbed_uri.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp b/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp
new file mode 100644
index 000000000000..c4fa5a2cbc02
--- /dev/null
+++ b/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp
@@ -0,0 +1,11 @@
+--- source/corvusoft/restbed/uri.cpp.orig 2021-09-11 00:09:45 UTC
++++ source/corvusoft/restbed/uri.cpp
+@@ -100,7 +100,7 @@ namespace restbed
+
+ string Uri::decode( const string& value )
+ {
+- static const char hex_to_dec[256] =
++ static const signed char hex_to_dec[256] =
+ {
+ /* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
+ /* 0 */ -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,