View Issue Details

IDProjectCategoryView StatusLast Update
0006086unrealircdpublic2022-04-08 08:44
ReporterBalthazar Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.0.3 
Fixed in Version6.0.4-rc1 
Summary0006086: Unable to put an URL on set kline-address
DescriptionWhen putting URLs in "set kline-address", I got an ircd error.

It seems that the server is trying to GET the URL but it only needs to display this string URL in case of the user is under a TKL (G/Z/K) restriction :
https://www.blabla.info/contact
https://www.blabla.info/
www.blabla.info
blabla.info

I got an ircd error everytime.
If the HTTP GET code isn't http 200 :
Failed to download 'https://xxxx': Failed to parse HTTP url
If the HTTP GET code is http 200 :
set::kline-address must be an e-mail or an URL

The only way to have the daemon starting is to put an email on this setting.
TagsNo tags attached.
3rd party modules

Activities

k4be

2022-04-07 17:36

developer   ~0022441

Replace "" with '' delimiters. This will stop unreal from trying to download the url.

Balthazar

2022-04-07 17:39

reporter   ~0022442

You're right, I didn't think about that option.

It is working with ''

syzop

2022-04-08 08:44

administrator   ~0022443

Updated the example conf now...

Commit c8b81777284d52d4654000295617d82285a295fc (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Fri Apr 8 08:43:24 2022 +0200

    Update example conf to put kline-address value in single quotes.
    Indirectly suggested in https://bugs.unrealircd.org/view.php?id=6086
    reported by Balthazar.

https://github.com/unrealircd/unrealircd/commit/c8b81777284d52d4654000295617d82285a295fc

Issue History

Date Modified Username Field Change
2022-04-07 17:34 Balthazar New Issue
2022-04-07 17:36 k4be Note Added: 0022441
2022-04-07 17:39 Balthazar Note Added: 0022442
2022-04-08 08:44 syzop Assigned To => syzop
2022-04-08 08:44 syzop Status new => resolved
2022-04-08 08:44 syzop Resolution open => fixed
2022-04-08 08:44 syzop Fixed in Version => 6.0.4-rc1
2022-04-08 08:44 syzop Note Added: 0022443