diamondburned / 6cord

Mirrored from GitLab
https://gitlab.com/diamondburned/6cord
Mozilla Public License 2.0
156 stars 9 forks source link

Links are shown as `http://127.0.0.1:SOME_PORT` instead of the actual link #10

Closed tsujp closed 4 years ago

tsujp commented 4 years ago

As per the title, pasting any link of any kind results in this behaviour. This is also the case for some inline images including emoticons.

diamondburned commented 4 years ago

This is a toggleable feature: https://github.com/diamondburned/6cord/blob/master/6cord.toml#L40

tsujp commented 4 years ago

Gotcha, I missed that.

With it enabled it also does it when sending though so recipients see a localhost link too which is probably not intended, no?

diamondburned commented 4 years ago

This only work for incoming links, so links that you see. If you want to share the link that you receive, you'll have to open it in a browser and copy that link.

Sending isn't affected.

tsujp commented 4 years ago

Sending was affected for me, I pasted in google.com and the receiver saw 127.0.0.1:46338, this was in a server not a DM.

I must've done something wrong the first time, yikes. Cheers mate!