Skip to content

Commit

Permalink
fix little bug
Browse files Browse the repository at this point in the history
  • Loading branch information
farooqkz committed Mar 17, 2024
1 parent 9d05d8a commit 54a9bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/link_url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ fn scheme(input: &str) -> IResult<&str, &str, CustomError<&str>> {
}

fn take_while_pct_encoded(input: &str) -> IResult<&str, &str, CustomError<&str>> {
recognize(tuple((char('%'), take_while_m_n(2, 2, is_hex_digit))))(input)
recognize(many0(tuple((char('%'), take_while_m_n(2, 2, is_hex_digit)))))(input)
}

fn punycode_encode(host: &str) -> String {
Expand Down

0 comments on commit 54a9bde

Please sign in to comment.