-
Notifications
You must be signed in to change notification settings - Fork 15
Hubot converting '&' to '&' - breaks some image links in Hipchat web client #54
Comments
Hey Nerdbot maintainers - I believe the fix for this is just an npm update. Any chance someone with access can try that? It would be a quick usability improvement for those of us on the Hipchat web client. =) Thanks! |
A node update throws up all over itself. I don't have time to dig into the error, but if you know how to resolve it, please let me know:
|
Hmm, okay. I'll see if I can reproduce, but update worked fine for me. Thanks for trying @jcarlso5, much appreciated. Definitely not a huge priority if it's going to be more than a command. =) |
What version of node you guys running @jcarlso5 |
I was able to update node to 0.10.40 and update all nerdbot packages. Please test! |
kinda? I mean the image shows up but the URL still seems weird. |
Yeah, it's only an issue from the web client. The problem is the & encoding in the URL, which the web client doesn't like - looks like it's still encoding the ampersand so the fix didn't work. Last I checked it was working properly from a clean checkout and build, so I'm not sure what else might be wrong. I'll take a second look next time I have a chance. |
I have this problem with the desktop apps for both Mac (El Capitan) and Windows (8.1) |
Can we try updating modules again and see if this fixes the issue? Otherwise we'll need to dig deeper. |
When hubot prints a message, ampersands are URL encoded, which is improper for Hipchat, and breaks some image links ("Failed to load the image"). To reproduce, try 'nerdbot cast storm crow' in the Hipchat web client. The resulting image response from Nerdbot should fail to load.
The native client seems to load these URLs successfully, I only see this issue in the web client. I assume this is related to hipchat/hubot-hipchat#247 and can be addressed by updating the hubot module.
The text was updated successfully, but these errors were encountered: