Skip to content

Commit 72d6491

Browse files
author
Rusty Rain
authored
Merge pull request #17 from k0nserv/fix-candidate-id
Ensure "+" is used in id generation
2 parents 3cf0924 + e29e837 commit 72d6491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ice/src/rand/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use rand::{thread_rng, Rng};
55

66
const RUNES_ALPHA: &[u8] = b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
77
const RUNES_CANDIDATE_ID_FOUNDATION: &[u8] =
8-
b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/";
8+
b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/+";
99

1010
const LEN_UFRAG: usize = 16;
1111
const LEN_PWD: usize = 32;

0 commit comments

Comments
 (0)