mshtml/tests: '%' doesn't needs escaping in a C string (sparse)
Michael Stefaniuc
mstefani at redhat.de
Wed Mar 11 05:00:10 CDT 2015
---
The correct URL escape sequence is just '%' and not "\%". While these
passes the tests https://testbot.winehq.org/JobDetails.pl?Key=12058 I am
not sure if the tests work as intended. Initially I assumed the '\'
needs to be escaped and that passed the tests too
https://testbot.winehq.org/JobDetails.pl?Key=12050
dlls/mshtml/tests/dom.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index f083bae..fca96a0 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -7764,8 +7764,8 @@ static void test_elems(IHTMLDocument2 *doc)
test_anchor_put_search((IUnknown*)elem, "?????word???press");
test_anchor_search((IUnknown*)elem, "?????word???press", FALSE);
- test_anchor_put_search((IUnknown*)elem, "?q=\%E4\%BD\%A0\%E5\%A5\%BD"); /* encoded cjk characters */
- test_anchor_search((IUnknown*)elem, "?q=\%E4\%BD\%A0\%E5\%A5\%BD", FALSE);
+ test_anchor_put_search((IUnknown*)elem, "?q=%E4%BD%A0%E5%A5%BD"); /* encoded cjk characters */
+ test_anchor_search((IUnknown*)elem, "?q=%E4%BD%A0%E5%A5%BD", FALSE);
test_anchor_put_search((IUnknown*)elem, "?how?old=are");
test_anchor_search((IUnknown*)elem, "?how?old=are", FALSE);
--
1.9.3
More information about the wine-patches
mailing list