Skip to content

Commit

Permalink
testescape: missing ';' in entity escaping.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1916332 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ylavic committed Mar 15, 2024
1 parent 258fe58 commit e70033c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testescape.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static void test_escape(abts_case *tc, void *data)
ABTS_PTR_EQUAL(tc, src, dest);

src = "\xFF<>&\'\"Hello World";
target = "&#255&lt;&gt;&amp;'&quot;Hello World";
target = "&#255;&lt;&gt;&amp;'&quot;Hello World";
dest = apr_pescape_entity(pool, src, 1);
ABTS_STR_EQUAL(tc, target, dest);
apr_escape_entity(NULL, src, APR_ESCAPE_STRING, 1, &len);
Expand Down

0 comments on commit e70033c

Please sign in to comment.