znc leaves characters out because it thinks it's unnecessary #561

Closed
opened 2026-10-05 04:29:59 +02:00 by adam · 4 comments
Owner

Joining the Freenode-Chan shows a wrong Channel-Url:

--- Topic for #znc is www.znc.in | ZNC 1.6.1: http://wiki.znc.in/ChangeLog/1.6.1 | http://znc.in/nightly | Debian stable: 1.4 is 1.5 year old | 1.2 is 2 years old | 1.0 is 3 years old | Debian oldstable: 0.206 is 3.5 years old | don't randomly PM people | http://blog.max-mehl.com/2014/i-love-znc-because-ilovefs/
--- Topic for #znc set by jpnurmi at Tue Aug 04 22:14:33 2015
Channel #znc url: ttp://znc.in

ZNC 1.7.x-git-289-1a574f9 - http://znc.in
IPv6: yes, SSL: yes, DNS: threads, charset: yes
Irc-Client: Hexchat (Windows Testing Build 9664b1b)

IRC -> ZNC [:services. 328 jpnurmi #foobar :http://foo.bar]
ZNC -> CLI [:services. 328 jpnurmi #foobar http://foo.bar]

jpnurmi: znc leaves it out because it thinks it's unnecessary, hmm..

Joining the Freenode-Chan shows a wrong Channel-Url: ``` --- Topic for #znc is www.znc.in | ZNC 1.6.1: http://wiki.znc.in/ChangeLog/1.6.1 | http://znc.in/nightly | Debian stable: 1.4 is 1.5 year old | 1.2 is 2 years old | 1.0 is 3 years old | Debian oldstable: 0.206 is 3.5 years old | don't randomly PM people | http://blog.max-mehl.com/2014/i-love-znc-because-ilovefs/ --- Topic for #znc set by jpnurmi at Tue Aug 04 22:14:33 2015 Channel #znc url: ttp://znc.in ``` ZNC 1.7.x-git-289-1a574f9 - http://znc.in IPv6: yes, SSL: yes, DNS: threads, charset: yes Irc-Client: Hexchat (Windows Testing Build 9664b1b) IRC -> ZNC [:services. 328 jpnurmi #foobar :http://foo.bar] ZNC -> CLI [:services. 328 jpnurmi #foobar http://foo.bar] jpnurmi: znc leaves it out because it thinks it's unnecessary, hmm.. <!-- github-sync-id:103124993 -->
adam closed this issue 2026-10-05 04:29:59 +02:00
Author
Owner

Why your client removes first character from last parameter?
ZNC sends correct string: the last parameter doesn't start with : and doesn't contain spaces.

Why your client removes first character from last parameter? ZNC sends correct string: the last parameter doesn't start with `:` and doesn't contain spaces. <!-- github-comment-id:134753049 -->
Author
Owner

I cannot reproduce this with WeeChat 1.4-dev (git: v1.3-16-g46899c4) & ZNC 1.7.x-git-272-2ad2ee5.

2015-08-27 09:57:47+0300 -- Topic for #znc is "www.znc.in | ZNC 1.6.1: http://wiki.znc.in/ChangeLog/1.6.1 | http://znc.in/nightly | Debian stable: 1.4 is 1.5 year old | 1.2 is 2 years old | 1.0 is 3 years old | Debian oldstable: 0.206 is 3.5 years old | don't randomly PM people | http://blog.max-mehl.com/2014/i-love-znc-because-ilovefs/"
2015-08-27 09:57:47+0300 -- Topic set by jpnurmi on 2015-08-04 23:14:33+0300
2015-08-27 09:57:59+0300 -- Channel #znc: 944 nicks (0 ops, 0 voices, 944 normals)
2015-08-27 09:57:59+0300 -- URL for #znc: http://znc.in
2015-08-27 09:58:00+0300 -- Channel created on 2008-01-16 04:47:30+0200

But as this appears to be HexChat bug https://github.com/hexchat/hexchat/issues/1460, why is this still open here?

I cannot reproduce this with WeeChat 1.4-dev (git: v1.3-16-g46899c4) & ZNC 1.7.x-git-272-2ad2ee5. ``` 2015-08-27 09:57:47+0300 -- Topic for #znc is "www.znc.in | ZNC 1.6.1: http://wiki.znc.in/ChangeLog/1.6.1 | http://znc.in/nightly | Debian stable: 1.4 is 1.5 year old | 1.2 is 2 years old | 1.0 is 3 years old | Debian oldstable: 0.206 is 3.5 years old | don't randomly PM people | http://blog.max-mehl.com/2014/i-love-znc-because-ilovefs/" 2015-08-27 09:57:47+0300 -- Topic set by jpnurmi on 2015-08-04 23:14:33+0300 2015-08-27 09:57:59+0300 -- Channel #znc: 944 nicks (0 ops, 0 voices, 944 normals) 2015-08-27 09:57:59+0300 -- URL for #znc: http://znc.in 2015-08-27 09:58:00+0300 -- Channel created on 2008-01-16 04:47:30+0200 ``` But as this appears to be HexChat bug https://github.com/hexchat/hexchat/issues/1460, why is this still open here? <!-- github-comment-id:135315681 -->
Author
Owner

But as this appears to be HexChat bug hexchat/hexchat#1460, why is this still open here?

If this turns out to be a problem for several clients, we might have to do something about it. The ideas mentioned in #1037 are also relevant in here.

> But as this appears to be HexChat bug hexchat/hexchat#1460, why is this still open here? If this turns out to be a problem for several clients, we might have to do something about it. The ideas mentioned in #1037 are also relevant in here. <!-- github-comment-id:135319189 -->
Author
Owner

It also happens on every 'whois' - the first sign after the hostname and the : (realname) is cut off..
I also reported that into the Hexchat-Issue.

It also happens on every 'whois' - the first sign after the hostname and the : (realname) is cut off.. I also reported that into the Hexchat-Issue. <!-- github-comment-id:135573456 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#561