mastodon / mastodon

Your self-hosted, globally interconnected microblogging community
https://joinmastodon.org
GNU Affero General Public License v3.0
47.12k stars 6.98k forks source link

Web UI changes literal URI strings to links (that don't look like the string written) #26543

Open elakim opened 1 year ago

elakim commented 1 year ago

Steps to reproduce the problem

  1. Write a URI, e.g. https://www.iki.fi
  2. Send your toot.
  3. Observe the end result.

Expected behaviour

My toot should contain the text string "https://www.iki.fi" as written.

Actual behaviour

My toot contains a link of the form iki.fi.

Detailed description

No response

Mastodon instance

mstdn.social

Mastodon version

v4.1.6

Browser name and version

Firefox 116.0.2

Operating system

Cubbli Linux 22 (based mostly on Ubuntu 22.04)

Technical details

No response

elakim commented 1 year ago

I meant to say: a link of the form <a href="https://www.iki.fi" >iki.fi</a>

elakim commented 1 year ago

Also I meant to say that the toot should contain the text string as written, not as a link. I wonder if I can write that using this bug reporting interface... https://www.iki.fi... yeah. But my point is, the default behaviour everywhere should not be surprising the user by changing their literal text to something else. It is very very annoying when that happens.

gunchleoc commented 1 year ago

If you want the text without generating a link, skip the protocol: www.iki.fi