Skip to content

Commit

Permalink
Only parse halloy url until space
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed Sep 9, 2024
1 parent 692ae47 commit cdba0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static URL_REGEX: Lazy<Regex> = Lazy::new(|| {
URL_PATH_EXC_PUNC,
r#"|"#,
URL_PATH_EXC_PUNC,
r#"?)|halloy:\/\/.*)"#
r#"?)|halloy:\/\/[^ ]*)"#
))
.unwrap()
});
Expand Down

0 comments on commit cdba0ad

Please sign in to comment.