Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/5a73f0797fe8b3c1350bc57405e789517478bc36
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/5a73f0797fe8b3c1350bc57405e789517478bc36
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/5a73f0797fe8b3c1350bc57405e789517478bc36

The branch, master has been updated
       via  5a73f0797fe8b3c1350bc57405e789517478bc36 (commit)
      from  eb5e0599afe3bae86a375acea4d8ca106594c45b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=5a73f0797fe8b3c1350bc57405e789517478bc36
commit 5a73f0797fe8b3c1350bc57405e789517478bc36
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    add url escape test for complete garbage input

diff --git a/test/urlescape.c b/test/urlescape.c
index e3d701a..e4e1fdb 100644
--- a/test/urlescape.c
+++ b/test/urlescape.c
@@ -167,6 +167,7 @@ static const struct test_pairs url_unescape_test_vec[] = {
        { "%0G", 3, "%0G", 3 }, /* single character with bad hex value */
        { "%20%0G%20", 9, " %0G ", 5 }, /* three src chars with bad hex value */
        { "%20%00%20", 9, " ", 3 }, /* three src chars with null hex value */
+       { "%@@%[[%__%||%//%::", 18, "%@@%[[%__%||%//%::", 18 }, /* four garbage 
encoded chars */
        { &simple_string[0], SLEN(simple_string),
          &simple_string[0], SLEN(simple_string) }, /* normal string with no 
percent encoded characters */
        { &most_escaped_upper[0], SLEN(most_escaped_upper),


-----------------------------------------------------------------------

Summary of changes:
 test/urlescape.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/test/urlescape.c b/test/urlescape.c
index e3d701a..e4e1fdb 100644
--- a/test/urlescape.c
+++ b/test/urlescape.c
@@ -167,6 +167,7 @@ static const struct test_pairs url_unescape_test_vec[] = {
        { "%0G", 3, "%0G", 3 }, /* single character with bad hex value */
        { "%20%0G%20", 9, " %0G ", 5 }, /* three src chars with bad hex value */
        { "%20%00%20", 9, " ", 3 }, /* three src chars with null hex value */
+       { "%@@%[[%__%||%//%::", 18, "%@@%[[%__%||%//%::", 18 }, /* four garbage 
encoded chars */
        { &simple_string[0], SLEN(simple_string),
          &simple_string[0], SLEN(simple_string) }, /* normal string with no 
percent encoded characters */
        { &most_escaped_upper[0], SLEN(most_escaped_upper),


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to