Joel Bennett on Nostr: because the path has to be _resolved_ to a real location in order to test whether it ...
because the path has to be _resolved_ to a real location in order to test whether it exists, which means normalizing it. You didn't ask if "ABC\123" exist ...
`Resolve-Path ..\..`
`Resolve-Path ..\..\a\..\`
`Resolve-Path ..\..\a\b\..\..\`
`Resolve-Path ..\..\a\b\c\..\..\..\`
Those are all the same place.
Published at
2024-05-25 05:57:02Event JSON
{
"id": "542109ad012bc0ad3bf8aff46492a4129583b9f2cb0c7d402edd1194a3dfb029",
"pubkey": "3b40d582273fa3ead266583aa152add053d40af980733b30187021b20fe40947",
"created_at": 1716616622,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@jaykul/112500186986630386",
"web"
],
[
"e",
"c4260331c01764fc1423228a4328589cf373ff0416f86ac915059f273050f3c8",
"",
"root"
],
[
"p",
"cec71356181fdc5dfac7a9c827b578af51d2a3f47ada0bd883980b060fb6efbf"
],
[
"proxy",
"https://fosstodon.org/users/jaykul/statuses/112500186986630386",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/jaykul/statuses/112500186986630386",
"pink.momostr"
]
],
"content": "because the path has to be _resolved_ to a real location in order to test whether it exists, which means normalizing it. You didn't ask if \"ABC\\123\" exist ... \n\n`Resolve-Path ..\\..`\n`Resolve-Path ..\\..\\a\\..\\`\n`Resolve-Path ..\\..\\a\\b\\..\\..\\`\n`Resolve-Path ..\\..\\a\\b\\c\\..\\..\\..\\`\n\nThose are all the same place.",
"sig": "128659d8c5e42e742356620d59cb7871a79c934bf6eb195a7820fc471c861e47bf6f5405f995d1b350e6d0f86f100811f8fbcf163e38f8708baa42a84fdab680"
}