Why Nostr? What is Njump?
2024-05-22 23:48:13

Joe Fabisevich :verified: on Nostr: Did you know that on iOS and macOS URL will take the string `view-source:` and ...

Did you know that on iOS and macOS URL will take the string `view-source:https://xyz.com` and properly say this is an invalid URL when using URL(string: "view-source:https://xyz.com";), but on Linux it will say, oh that's fine, totally valid URL?

Well that's the story of how I fixed a bug where a user was able to save an invalid URL into Plinky's database last night — fixed with an extra layer of validation and some tests.
Author Public Key
npub1dqte78guluz0g6agaf8h070aqplzdq3d44hrcz6swfnmnaq9md0qnuhntt