Peter on Nostr: But why do you strip the "/" in URLs? I think the serialized representation of paths ...
But why do you strip the "/" in URLs? I think the serialized representation of paths always include the "/" so it would be better to append it, but to strip it.
Published at
2023-08-06 18:04:19Event JSON
{
"id": "de0c5d9384edce31b23c08445a54c65af54fceae4cdf794be2e5f5a1a1251da1",
"pubkey": "0e6802d8b7caf0206b1df7b81d2421a27b2dd5a3396f74bfcfe5bae8997c959a",
"created_at": 1691345059,
"kind": 1,
"tags": [
[
"e",
"098e907c06232d5329daacfa067dad23e6dcfc852e2c648356379ecb74f5586a"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "But why do you strip the \"/\" in URLs? I think the serialized representation of paths always include the \"/\" so it would be better to append it, but to strip it.",
"sig": "da69324dfd11c294755567f0a8da1734adf04fa0aebed820c82c90c91088dca73ef9153aeec4ba4121316f3a8612745e96d660bbb30d41f536a9a757ba9c37e3"
}