montzstar on Nostr: Lol yeah I was able to add “wss:” but I could also remove it. Need some unit ...
Lol yeah I was able to add “wss:” but I could also remove it. Need some unit tests for url validation.
Published at
2023-09-03 03:03:10Event JSON
{
"id": "aa378cc7b380b9912bb6e9d500d187f4be20078379787eeeba4291281f371bee",
"pubkey": "07ecf9838136fe430fac43fa0860dbc62a0aac0729c5a33df1192ce75e330c9f",
"created_at": 1693702990,
"kind": 1,
"tags": [
[
"e",
"cd6c64e91f46599129bb4d82c59efc478f04ddfa78be78e98e967454c4654cd6"
],
[
"e",
"329f9935e30790e7a208d5f26b8909c92dc6a34f59dedc7e11da660a05424495"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"e7424ad457e512fdf4764a56bf6d428a06a13a1006af1fb8e0fe32f6d03265c7"
],
[
"p",
"520830c334a3f79f88cac934580d26f91a7832c6b21fb9625690ea2ed81b5626"
]
],
"content": "Lol yeah I was able to add “wss:” but I could also remove it. Need some unit tests for url validation.",
"sig": "bf55fb0d3cf61a8baa83f00d606927f4f4948cfc8538d38c1475e75980ba0acd2cfaa61e3bb19d49cefb0532075c2b26e58869f9f3f544d8677e4ef7a8f9de9c"
}