kernelkind
6f9bd6c4f4
nostrdb/parser: 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.
Signed-off-by: kernelkind <kernelkind@gmail.com >
Tested-by: William Casarin <jb55@jb55.com >
Signed-off-by: William Casarin <jb55@jb5.com >
Signed-off-by: William Casarin <jb55@jb55.com >
2025-08-11 16:39:43 -07:00
..
2024-07-14 21:26:03 -07:00
2025-08-11 16:39:43 -07:00
2024-05-11 09:19:22 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2023-08-28 08:18:25 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2023-08-25 19:05:34 -07:00
2025-08-11 16:39:43 -07:00
2024-09-01 06:42:35 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2024-01-26 12:00:26 -08:00
2023-08-25 19:05:34 -07:00
2025-08-11 16:39:43 -07:00
2024-09-27 12:37:53 -07:00
2025-06-16 10:34:18 -07:00
2024-06-21 12:00:44 -07:00
2024-01-25 12:13:15 -08:00
2025-04-16 11:48:52 -07:00
2023-12-03 22:12:31 -08:00
2024-01-26 14:03:49 -08:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-04-16 11:48:52 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00