Skip to content

Commit

Permalink
[strings-testframework] Add invalid jid with SOH character (U+0001)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Jan 17, 2024
1 parent 8bb79cf commit 7ff165b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ EveryNonRsChar → !'RS'

For more information see 'jids/valid/main'.

invalid jid:
jul[email protected]
SOH character (U+0001) in localpart

RFC 7622 Table 2
================
Simplified BSD License
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
*
* Copyright 2019-2020 Florian Schmaus
* Copyright 2019-2024 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -26,7 +26,7 @@
public class StringsTestframeworkTest {

private static final int VALID_JID_CORPUS_SIZE = 22;
private static final int INVALID_JID_CORPUS_SIZE = 22;
private static final int INVALID_JID_CORPUS_SIZE = 23;

@Test
public void testStringsTestframeworkIsSuccessful() {
Expand Down

0 comments on commit 7ff165b

Please sign in to comment.