shithub: libmujs

Download patch

ref: ccf7fa6c104700863cd6a448812ccd8d8a4d0ce4
parent: 2eb4fd22728afe62063a7b3ec77adf9c57ac6d09
author: Tor Andersson <tor.andersson@artifex.com>
date: Wed Feb 3 12:42:59 EST 2021

Bug 703457: Fix typo in uriMark definition used by encodeURI(Component).

Silly copy & paste error.

--- a/jsbuiltin.c
+++ b/jsbuiltin.c
@@ -166,7 +166,7 @@
 #define URIRESERVED ";/?:@&=+$,"
 #define URIALPHA "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
 #define URIDIGIT "0123456789"
-#define URIMARK "-_.!~*`()"
+#define URIMARK "-_.!~*'()"
 #define URIUNESCAPED URIALPHA URIDIGIT URIMARK
 
 static void jsB_decodeURI(js_State *J)