Files
damus/damus-c
kernelkind e547e26d99 Handle period at end of URL
Fix parsing URL when encountering a period at the end of the url by
setting it as disallowed from being present at the end of a
URL.

Some characters are disallowed to be present at the end of URLs.
Presently, the period character is the only disallowed character.
A character is the last character in the URL if it is followed by
is_whitespace() or if it's the last character in the string.

Closes: https://github.com/damus-io/damus/issues/1638

LNURL1DP68GURN8GHJ7EM9W3SKCCNE9E3K7MF0D3H82UNVWQHKWUN9V4HXGCTHDC6RZVGR8SW3G

Signed-off-by: kernelkind <kernelkind@gmail.com>
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2023-12-22 14:00:15 -08:00
..
2022-10-19 07:45:06 -07:00
2023-01-01 10:30:40 -08:00
2022-10-19 07:45:06 -07:00
2023-01-01 10:30:40 -08:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2023-12-22 14:00:15 -08:00
2023-12-22 14:00:15 -08:00
2023-07-03 14:31:38 -07:00
2023-07-03 14:31:38 -07:00
2022-10-19 07:45:06 -07:00
2023-07-03 14:31:38 -07:00
2023-07-03 14:31:38 -07:00
2023-01-01 10:30:40 -08:00
2022-10-19 07:45:06 -07:00
2023-07-25 15:23:36 -07:00
2023-07-25 15:23:36 -07:00
2023-07-03 14:31:38 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2023-01-01 10:30:40 -08:00
2023-07-03 14:31:38 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2023-07-03 14:31:38 -07:00
2022-10-19 07:45:06 -07:00
2022-10-19 07:45:06 -07:00
2023-07-03 14:31:38 -07:00
2023-07-04 11:48:27 -07:00