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

Malformed channel topic links #20

Open
andresf opened this issue Jan 12, 2012 · 2 comments
Open

Malformed channel topic links #20

andresf opened this issue Jan 12, 2012 · 2 comments

Comments

@andresf
Copy link
Member

andresf commented Jan 12, 2012

This is an example of the current generated link:

school.mendicantuniversity.org/chat/messages**?&channel=#**mendicant-alumni&topic=Web%20Apps/Tools%20Meeting&full_log=true

There is an extra ampersand at the start of the params (after '?'). This is ignored by Firefox, but other browsers might choke.

The '#' needs to be replaced by '%23'. This one does make things go sour.

@wicz
Copy link
Contributor

wicz commented Feb 17, 2012

The extra ampersand is really an issue. Not a terrible one, though.

About the pound sign, that's awkward cause since the very first commit of this feature the URI is being properly encoded. See 734dce8. Maybe a bug in Cinch?

@andresf
Copy link
Member Author

andresf commented Feb 17, 2012

I think we need to figure out what m.channel.name is returning first, and perhaps add some tests! I'm confused as to what some methods are expecting.

That said, I'm puzzled. I can't think of anything that would return '#' after going through URI#encode.

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

2 participants