Looks like `&` gets unescaped in mastodonshare.com's redirect location.
Request headers:
```
GET
/?text=A%26B&url=http%3A%2F%2F127.0.0.1%3A3000%2Fuser%2Ffakeuser1%2Fdiary%2F86
HTTP/1.1
Host: mastodonshare.com
...
```
Response headers:
```
HTTP/1.1 302 Found
...
Location:
https://en.osm.town/share?text=A&B%0A%0Ahttp://127.0.0.1:3000/user/fakeuser1/diary/86
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5417#issuecomment-2552483990
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5417/c2552483...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev