Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortened Slack URLs need to be expanded on IRC #24

Closed
Zegnat opened this issue Jun 9, 2021 · 4 comments
Closed

Shortened Slack URLs need to be expanded on IRC #24

Zegnat opened this issue Jun 9, 2021 · 4 comments

Comments

@Zegnat
Copy link

Zegnat commented Jun 9, 2021

Example message from tonight:

http://www.unmung.com/jsontoxoxo?url=https%3A%2F%2Fgranary.io%2Furl%3Finput%3Dhtml%[…]feed%253Dhttp%25253A%25252F%25252Fscripting.com%25252Frss.xml

The […] in the middle of the URL is added by Slack, for display purposes only. In Slack, hovering the link will show the full URL, and clicking will also open this expended version.

Screenshot: showing the expanded URL in Slack on hover.

The actual full link that was expected was: http://www.unmung.com/jsontoxoxo?url=https%3A%2F%2Fgranary.io%2Furl%3Finput%3Dhtml%26output%3Djsonfeed%26url%3Dhttp%253A%252F%252Fwww.unmung.com%252Ffeed%253Ffeed%253Dhttp%25253A%25252F%25252Fscripting.com%25252Frss.xml

It is this expanded URL that should end up on IRC. Currently it leads to links unusable by chatters on IRC, as well as broken links in logging (e.g. the IndieWeb Chat logs).

@aaronpk
Copy link
Owner

aaronpk commented Jun 9, 2021

We'll need to find the docs from Slack on this to know where to find the full URL. I'd also like to track down a change log from slack to find out when this changed, since it didn't do this before.

@jamietanna
Copy link

I've seen this happening on my work Slack for at least a couple of months, if it helps - and I seem to remember seeing this at least a few weeks ago on the IndieWeb Slack

@bkil
Copy link

bkil commented May 1, 2023

You probably need to use '$1' here

according to

@aaronpk
Copy link
Owner

aaronpk commented May 4, 2023

Thank you, this was fixed in 84b905a

@aaronpk aaronpk closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants