PrimalHQ / primal-web-app

Primal's web app for Nostr, as experienced on primal.net.
https://primal.net
MIT License
190 stars 37 forks source link

URL links in nostr notes are lower-cased by primal leading to 404 errors #54

Closed harrymmmm closed 7 months ago

harrymmmm commented 7 months ago

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Environment

Additional context

Add any other context about the problem here.

harrymmmm commented 7 months ago

reproduce: hover over the URL and see the url has been lower-cased expected: not lower-cased example: npub17u5dneh8qjp43ecfxr6u5e9sjamsmxyuekrg2nlxrrk6nj9rsyrqywt4tp os: ubuntu desktop bug occurs with primal in both brave and firefox browsers does NOT occur in iris.to nostr client

moysa commented 7 months ago

This should now be fixed. URLs in links now respect the case of the link as user wrote it.