-
Notifications
You must be signed in to change notification settings - Fork 151
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
casemapping=ascii isn't handled correctly when nicks have rfc1459 characters in them #498
Comments
It's likely that this server has different case mapping rules. In the IRC RFC,
Needless to say, this is insane and people tried to fix this. The bridge does look for the ISUPPORT CASEMAPPING rules, but it's likely that this is either not set or is set incorrectly on this IRCd. |
Ah, right! So it turns out the issue is that this function, https://github.com/matrix-org/matrix-appservice-irc/blob/master/lib/irc/formatting.js#L245 , defaults casemapping to This is a problem on my server because it accurately reports |
This seems to affect IRCnet where I am unable to message my IRC bot If someone wants to test, the bot should reply to |
Got hit by this when DM'ing user who has ^ in nick. Quote from other user "I think most networks tell which mapping they use when you connect so it's possible to default to something like ASCII and use RFC if told by the network." So I suppose the fix is:
I'd put this on relatively high priority as it messes up DM's for some users in at least one of major IRC networks. |
I dunno if this is an issue in the bridge or not, given that it doesn't happen on freenode, for instance; but on one particular server, starting direct chats with irc users who have []s in their nicks fails (as in,
theirnick[pc]
).(Yes, that is {}s in the echo'd error.)
It doesn't seem to be an issue serverside, though, as sending a raw cmd works fine.
I'm kinda baffled as to what would be a before-irc-server issue that is still server specific. Any ideas as to where to keep digging?
The text was updated successfully, but these errors were encountered: